Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Skip state check hook on first load (#3915)

bymyself24b969d3dace
diff --git a/web/scripts/changeTracker.js b/web/scripts/changeTracker.js
index 041c83122..39bc4a810 100644
--- a/web/scripts/changeTracker.js
+++ b/web/scripts/changeTracker.js
@@ -173,9 +173,11 @@ export class ChangeTracker {
const onNodeAdded = LiteGraph.LGraph.prototype.onNodeAdded;
LiteGraph.LGraph.prototype.onNodeAdded = function () {
const v = onNodeAdded?.apply(this, arguments);
- const ct = changeTracker();
- if (!ct.isOurLoad) {
- ct.checkState();
+ if (!app?.configuringGraph) {
+ const ct = changeTracker();
+ if (!ct.isOurLoad) {
+ ct.checkState();
+ }
}
return v;
};