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

Method refreshInputRelatedDataRecursiveInternal

Engine/Node.cpp:10566–10587  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10564}
10565
10566void
10567Node::refreshInputRelatedDataRecursiveInternal(std::set<Node*>& markedNodes)
10568{
10569 if ( getApp()->isCreatingNodeTree() ) {
10570 return;
10571 }
10572 std::set<Node*>::iterator found = markedNodes.find(this);
10573
10574 if ( found != markedNodes.end() ) {
10575 return;
10576 }
10577
10578 markedNodes.insert(this);
10579 refreshInputRelatedDataInternal(false, markedNodes);
10580
10581 ///Now notify outputs we have changed
10582 NodesList outputs;
10583 getOutputsWithGroupRedirection(outputs);
10584 for (NodesList::const_iterator it = outputs.begin(); it != outputs.end(); ++it) {
10585 (*it)->refreshInputRelatedDataRecursiveInternal( markedNodes );
10586 }
10587}
10588
10589void
10590Node::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