| 5775 | } // Node::connectInput |
| 5776 | |
| 5777 | void |
| 5778 | Node::Implementation::ifGroupForceHashChangeOfInputs() |
| 5779 | { |
| 5780 | ///If the node is a group, force a change of the outputs of the GroupInput nodes so the hash of the tree changes downstream |
| 5781 | NodeGroup* isGrp = dynamic_cast<NodeGroup*>( effect.get() ); |
| 5782 | |
| 5783 | if ( isGrp && !isGrp->getApp()->isCreatingNodeTree() ) { |
| 5784 | NodesList inputsOutputs; |
| 5785 | isGrp->getInputsOutputs(&inputsOutputs, false); |
| 5786 | for (NodesList::iterator it = inputsOutputs.begin(); it != inputsOutputs.end(); ++it) { |
| 5787 | (*it)->incrementKnobsAge_internal(); |
| 5788 | (*it)->computeHash(); |
| 5789 | } |
| 5790 | } |
| 5791 | } |
| 5792 | |
| 5793 | bool |
| 5794 | Node::replaceInputInternal(const NodePtr& input, int inputNumber, bool useGuiInputs) |
no test coverage detected