"...composable_kernel_onnx.git" did not exist on "aebd211c363324ec8be401f17fe815e21da59081"
Unverified Commit 24b969d3 authored by bymyself's avatar bymyself Committed by GitHub
Browse files

Skip state check hook on first load (#3915)

parent 086ac752
...@@ -173,9 +173,11 @@ export class ChangeTracker { ...@@ -173,9 +173,11 @@ export class ChangeTracker {
const onNodeAdded = LiteGraph.LGraph.prototype.onNodeAdded; const onNodeAdded = LiteGraph.LGraph.prototype.onNodeAdded;
LiteGraph.LGraph.prototype.onNodeAdded = function () { LiteGraph.LGraph.prototype.onNodeAdded = function () {
const v = onNodeAdded?.apply(this, arguments); const v = onNodeAdded?.apply(this, arguments);
const ct = changeTracker(); if (!app?.configuringGraph) {
if (!ct.isOurLoad) { const ct = changeTracker();
ct.checkState(); if (!ct.isOurLoad) {
ct.checkState();
}
} }
return v; return v;
}; };
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment