| 5735 | } |
| 5736 | |
| 5737 | bool |
| 5738 | EffectInstance::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 |
no test coverage detected