MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / setNodeDisabled

Method setNodeDisabled

Engine/Node.cpp:5487–5498  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5485}
5486
5487void
5488Node::setNodeDisabled(bool disabled)
5489{
5490 KnobBoolPtr b = _imp->disableNodeKnob.lock();
5491
5492 if (b) {
5493 b->setValue(disabled);
5494
5495 // Clear the actions cache because if this function is called from another thread, the hash will not be incremented
5496 _imp->effect->clearActionsCache();
5497 }
5498}
5499
5500void
5501Node::showKeyframesOnTimeline(bool emitSignal)

Callers 4

TrackerContextPrivateMethod · 0.80
undoMethod · 0.80
redoMethod · 0.80

Calls 3

clearActionsCacheMethod · 0.80
lockMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected