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

Method refreshMetadata_public

Engine/EffectInstance.cpp:5663–5690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5661}
5662
5663bool
5664EffectInstance::refreshMetadata_public(bool recurse)
5665{
5666 assert( QThread::currentThread() == qApp->thread() );
5667
5668 if (recurse) {
5669
5670 {
5671 std::list<Node*> markedNodes;
5672
5673 return refreshMetadata_recursive(markedNodes);
5674 }
5675 } else {
5676 bool ret = refreshMetadata_internal();
5677 if (ret) {
5678 NodePtr node = getNode();
5679 NodesList children;
5680 node->getChildrenMultiInstance(&children);
5681 if ( !children.empty() ) {
5682 for (NodesList::iterator it = children.begin(); it != children.end(); ++it) {
5683 (*it)->getEffectInstance()->refreshMetadata_internal();
5684 }
5685 }
5686 }
5687
5688 return ret;
5689 }
5690}
5691
5692/**
5693 * @brief The purpose of this function is to check that the meta data returned by the plug-ins are valid and to

Callers 5

onLayerChangedMethod · 0.80
onMaskSelectorChangedMethod · 0.80
addUserComponentsMethod · 0.80
pasteNodesInternalMethod · 0.80

Calls 7

emptyMethod · 0.80
getEffectInstanceMethod · 0.80
getNodeFunction · 0.70
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected