diff --git a/Node_Editor/Framework/NodeEditor.cs b/Node_Editor/Framework/NodeEditor.cs index 25fdec2f..0c4067ff 100644 --- a/Node_Editor/Framework/NodeEditor.cs +++ b/Node_Editor/Framework/NodeEditor.cs @@ -370,8 +370,11 @@ private static bool ContinueCalculation (Node node) for (int outCnt = 0; outCnt < node.Outputs.Count; outCnt++) { NodeOutput output = node.Outputs [outCnt]; - for (int conCnt = 0; conCnt < output.connections.Count; conCnt++) - ContinueCalculation (output.connections [conCnt].body); + if (!output.calculationBlockade) + { + for (int conCnt = 0; conCnt < output.connections.Count; conCnt++) + ContinueCalculation (output.connections [conCnt].body); + } } } else if (calculationCount >= 1000) diff --git a/Node_Editor/Framework/NodeOutput.cs b/Node_Editor/Framework/NodeOutput.cs index 6a7433c3..6a02661f 100644 --- a/Node_Editor/Framework/NodeOutput.cs +++ b/Node_Editor/Framework/NodeOutput.cs @@ -24,6 +24,8 @@ public class NodeOutput : NodeKnob [System.NonSerialized] private object value = null; + public bool calculationBlockade = false; + #region General ///