mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-07 22:20:03 +00:00
removed the node.data field, now you must use onSerialize and onConfigure
This commit is contained in:
@@ -1765,7 +1765,6 @@ LGraphNode.prototype._ctor = function( title )
|
||||
this.properties = {}; //for the values
|
||||
this.properties_info = []; //for the info
|
||||
|
||||
this.data = null; //persistent local data
|
||||
this.flags = {};
|
||||
}
|
||||
|
||||
@@ -1886,7 +1885,6 @@ LGraphNode.prototype.serialize = function()
|
||||
type: this.type,
|
||||
pos: this.pos,
|
||||
size: this.size,
|
||||
data: this.data,
|
||||
flags: LiteGraph.cloneObject(this.flags),
|
||||
mode: this.mode
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user