| 618 | } |
| 619 | |
| 620 | void NodeBase::updateFrozenState(Identifier id, var newValue) |
| 621 | { |
| 622 | if (auto n = getEmbeddedNetwork()) |
| 623 | { |
| 624 | try |
| 625 | { |
| 626 | if (n->canBeFrozen()) |
| 627 | n->setUseFrozenNode((bool)newValue); |
| 628 | } |
| 629 | catch (Error& e) |
| 630 | { |
| 631 | getRootNetwork()->getExceptionHandler().addError(this, e); |
| 632 | } |
| 633 | } |
| 634 | } |
| 635 | |
| 636 | Colour NodeBase::getColour() const |
| 637 | { |
nothing calls this directly
no test coverage detected