"deploy/vscode:/vscode.git/clone" did not exist on "a7d5c8f804b33c7073cab71cd70e02028df5907f"
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,10 +173,12 @@ export class ChangeTracker {
const onNodeAdded = LiteGraph.LGraph.prototype.onNodeAdded;
LiteGraph.LGraph.prototype.onNodeAdded = function () {
const v = onNodeAdded?.apply(this, arguments);
if (!app?.configuringGraph) {
const ct = changeTracker();
if (!ct.isOurLoad) {
ct.checkState();
}
}
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