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

Method forceRefreshAllInputRelatedData

Engine/Node.cpp:10501–10518  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10499}
10500
10501void
10502Node::forceRefreshAllInputRelatedData()
10503{
10504 markInputRelatedDataDirtyRecursive();
10505
10506 NodeGroup* isGroup = dynamic_cast<NodeGroup*>( _imp->effect.get() );
10507 if (isGroup) {
10508 NodesList inputs;
10509 isGroup->getInputsOutputs(&inputs, false);
10510 for (NodesList::iterator it = inputs.begin(); it != inputs.end(); ++it) {
10511 if ( (*it) ) {
10512 (*it)->refreshInputRelatedDataRecursive();
10513 }
10514 }
10515 } else {
10516 refreshInputRelatedDataRecursive();
10517 }
10518}
10519
10520void
10521Node::markAllInputRelatedDataDirty()

Calls 5

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

Tested by

no test coverage detected