The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
fix client freeze on connect reroutes in a circle
flyingshutter9586de9dc8ec
diff --git a/web/extensions/core/rerouteNode.js b/web/extensions/core/rerouteNode.jsindex 7188dfd26..1342cae92 100644--- a/web/extensions/core/rerouteNode.js+++ b/web/extensions/core/rerouteNode.js@@ -43,8 +43,15 @@ app.registerExtension({const node = app.graph.getNodeById(link.origin_id);const type = node.constructor.type;if (type === "Reroute") {+ if (node === this) {+ // We've found a circle+ currentNode.disconnectInput(link.target_slot);+ currentNode = null;+ }+ else {// Move the previous node- currentNode = node;+ currentNode = node;+ }} else {// We've found the endinputNode = currentNode;