make removable slots only the ones created from editor

This commit is contained in:
tamat
2021-09-16 11:25:32 +02:00
parent c2f7e389b9
commit 9ad6301101
9 changed files with 1394 additions and 1311 deletions

View File

@@ -1245,6 +1245,19 @@
"number"
);
function length(v) {
if(v && v.length != null)
return Number(v.length);
return 0;
}
LiteGraph.wrapFunctionAsNode(
"basic/not",
function(a){ return !a; },
[""],
"boolean"
);
function DownloadData() {
this.size = [60, 30];
this.addInput("data", 0 );