diff --git a/src/LGraphNode.ts b/src/LGraphNode.ts index a510dda6b..796de9834 100644 --- a/src/LGraphNode.ts +++ b/src/LGraphNode.ts @@ -143,7 +143,6 @@ export class LGraphNode implements Positionable, IPinnable { static MAX_CONSOLE?: number static type?: string static category?: string - static supported_extensions?: string[] static filter?: string static skip_list?: boolean diff --git a/src/LiteGraphGlobal.ts b/src/LiteGraphGlobal.ts index 3474677f9..f10128b87 100644 --- a/src/LiteGraphGlobal.ts +++ b/src/LiteGraphGlobal.ts @@ -360,16 +360,6 @@ export class LiteGraphGlobal { enumerable: true, configurable: true, }) - - // used to know which nodes to create when dragging files to the canvas - if (base_class.supported_extensions) { - for (const i in base_class.supported_extensions) { - const ext = base_class.supported_extensions[i] - if (ext && typeof ext === "string") { - this.node_types_by_file_extension[ext.toLowerCase()] = base_class - } - } - } } this.registered_node_types[type] = base_class