Skip to content

Commit

Permalink
fix #444, do not count hidden inlets when importing PD
Browse files Browse the repository at this point in the history
  • Loading branch information
shamansir committed Apr 29, 2017
1 parent 5995ab5 commit 0c75d12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/io/pd.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ Rpd.import.pd = function(lines) {
nodeToProto = {};

function pushInlet(update) {
if (update.inlet.def.hidden) return;
if (!nodeToInlets[update.node.id]) nodeToInlets[update.node.id] = [];
nodeToInlets[update.node.id].push(update.inlet);
}
Expand Down

0 comments on commit 0c75d12

Please sign in to comment.