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

Method refreshMetadata_public

Engine/EffectInstance.cpp:5737–5764  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5735}
5736
5737bool
5738EffectInstance::refreshMetadata_public(bool recurse)
5739{
5740 assert( QThread::currentThread() == qApp->thread() );
5741
5742 if (recurse) {
5743
5744 {
5745 std::list<Node*> markedNodes;
5746
5747 return refreshMetadata_recursive(markedNodes);
5748 }
5749 } else {
5750 bool ret = refreshMetadata_internal();
5751 if (ret) {
5752 NodePtr node = getNode();
5753 NodesList children;
5754 node->getChildrenMultiInstance(&children);
5755 if ( !children.empty() ) {
5756 for (NodesList::iterator it = children.begin(); it != children.end(); ++it) {
5757 (*it)->getEffectInstance()->refreshMetadata_internal();
5758 }
5759 }
5760 }
5761
5762 return ret;
5763 }
5764}
5765
5766/**
5767 * @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