From cd42cf7583d6a54bfa87b29f986c8d320c336d8e Mon Sep 17 00:00:00 2001 From: Nick O'Leary Date: Sat, 12 May 2018 17:02:07 +0100 Subject: [PATCH] Fix wireClippedNodes is not defined Fixes #1726 --- editor/js/nodes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index 76be6c5f4..5e2c7ca1d 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -1035,8 +1035,8 @@ RED.nodes = (function() { node.outputs = n.outputs||node._def.outputs; // If 'wires' is longer than outputs, clip wires if (node.hasOwnProperty('wires') && node.wires.length > node.outputs) { + console.log("Warning: node.wires longer than node.outputs - trimming wires:",node.id," wires:",node.wires.length," outputs:",node.outputs); node.wires = node.wires.slice(0,node.outputs); - wireClippedNodes.push(node); } for (d in node._def.defaults) { if (node._def.defaults.hasOwnProperty(d)) {