MCPcopy Create free account
hub / github.com/christophhart/HISE / updateFrozenState

Method updateFrozenState

hi_scripting/scripting/scriptnode/api/NodeBase.cpp:620–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

618}
619
620void 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
636Colour NodeBase::getColour() const
637{

Callers

nothing calls this directly

Calls 3

canBeFrozenMethod · 0.80
setUseFrozenNodeMethod · 0.80
addErrorMethod · 0.45

Tested by

no test coverage detected