From e6de26736b47be50a93280c96c27b653685a978d Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 6 Jan 2017 14:06:30 +0000 Subject: [PATCH] add port if wires array > number of ports declared. --- editor/js/nodes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/js/nodes.js b/editor/js/nodes.js index 05e18cd7a..38c5bcb77 100644 --- a/editor/js/nodes.js +++ b/editor/js/nodes.js @@ -165,6 +165,7 @@ RED.nodes = (function() { configNodes[n.id] = n; } else { n.ports = []; + if (n.wires && (n.wires.length > n.outputs)) { n.outputs = n.wires.length; } if (n.outputs) { for (var i=0;i