| 5661 | } |
| 5662 | |
| 5663 | bool |
| 5664 | EffectInstance::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 |
no test coverage detected