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

Method refreshInputRelatedDataRecursiveInternal

Engine/Node.cpp:6293–6314  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6291}
6292
6293void
6294Node::refreshInputRelatedDataRecursiveInternal(std::set<Node*>& markedNodes)
6295{
6296 if ( getApp()->isCreatingNodeTree() ) {
6297 return;
6298 }
6299 std::set<Node*>::iterator found = markedNodes.find(this);
6300
6301 if ( found != markedNodes.end() ) {
6302 return;
6303 }
6304
6305 markedNodes.insert(this);
6306 refreshInputRelatedDataInternal(false, markedNodes);
6307
6308 ///Now notify outputs we have changed
6309 NodesList outputs;
6310 getOutputsWithGroupRedirection(outputs);
6311 for (NodesList::const_iterator it = outputs.begin(); it != outputs.end(); ++it) {
6312 (*it)->refreshInputRelatedDataRecursiveInternal( markedNodes );
6313 }
6314}
6315
6316void
6317Node::refreshInputRelatedDataRecursive()

Callers 1

Calls 6

getAppFunction · 0.85
isCreatingNodeTreeMethod · 0.80
findMethod · 0.45
endMethod · 0.45
insertMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected