Add default name to switch node (for when name not specified - to be more consistent with other nodes)

This commit is contained in:
Dave C-J 2013-11-24 22:22:35 +00:00
parent 873974478a
commit 0a78838c71
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@
outputs: 1,
icon: "switch.png",
label: function() {
return this.name;
return this.name||"switch";
},
oneditprepare: function() {