Fix logic error in the lora nodes.

This commit is contained in:
arcum42
2025-07-08 10:55:28 -07:00
parent b2556cd4fa
commit d2032ee16b
+2 -2
View File
@@ -130,7 +130,7 @@ class Sage_TripleLoraStack(ComfyNodeABC):
nodes = []
lora_stack_node = None
for i in range(1, len(args) // self.NUM_OF_ENTRIES + 1):
for i in range(1, len(args) // 4 + 1):
if args[f"enabled_{i}"] == False:
continue
stack_out = stack if lora_stack_node is None else lora_stack_node.out(0)
@@ -194,7 +194,7 @@ class Sage_TripleQuickLoraStack(ComfyNodeABC):
nodes = []
lora_stack_node = None
for i in range(1, len(args) // self.NUM_OF_ENTRIES + 1):
for i in range(1, len(args) // 3 + 1):
if args[f"enabled_{i}"] == False:
continue
stack_out = stack if lora_stack_node is None else lora_stack_node.out(0)