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

Method forceRefreshAllInputRelatedData

Engine/Node.cpp:6228–6245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6226}
6227
6228void
6229Node::forceRefreshAllInputRelatedData()
6230{
6231 markInputRelatedDataDirtyRecursive();
6232
6233 NodeGroup* isGroup = dynamic_cast<NodeGroup*>( _imp->effect.get() );
6234 if (isGroup) {
6235 NodesList inputs;
6236 isGroup->getInputsOutputs(&inputs, false);
6237 for (NodesList::iterator it = inputs.begin(); it != inputs.end(); ++it) {
6238 if ( (*it) ) {
6239 (*it)->refreshInputRelatedDataRecursive();
6240 }
6241 }
6242 } else {
6243 refreshInputRelatedDataRecursive();
6244 }
6245}
6246
6247void
6248Node::markAllInputRelatedDataDirty()

Calls 5

getInputsOutputsMethod · 0.80
getMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected