| 836 | |
| 837 | |
| 838 | void |
| 839 | Node::Implementation::ifGroupForceHashChangeOfInputs() |
| 840 | { |
| 841 | ///If the node is a group, force a change of the outputs of the GroupInput nodes so the hash of the tree changes downstream |
| 842 | NodeGroup* isGrp = dynamic_cast<NodeGroup*>( effect.get() ); |
| 843 | |
| 844 | if ( isGrp && !isGrp->getApp()->isCreatingNodeTree() ) { |
| 845 | NodesList inputsOutputs; |
| 846 | isGrp->getInputsOutputs(&inputsOutputs, false); |
| 847 | for (NodesList::iterator it = inputsOutputs.begin(); it != inputsOutputs.end(); ++it) { |
| 848 | (*it)->incrementKnobsAge_internal(); |
| 849 | (*it)->computeHash(); |
| 850 | } |
| 851 | } |
| 852 | } |
| 853 | |
| 854 | bool |
| 855 | Node::replaceInputInternal(const NodePtr& input, int inputNumber, bool useGuiInputs) |
no test coverage detected