From 5f25a29303fe1065e1cbfd5ca090a718c7a55ed0 Mon Sep 17 00:00:00 2001 From: Will Miao Date: Sat, 15 Nov 2025 16:25:01 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E4=BF=AE=E5=A4=8D=EF=BC=9A=E5=9C=A8?= =?UTF-8?q?=E5=BA=94=E7=94=A8LoRA=E5=80=BC=E5=88=B0=E6=96=87=E6=9C=AC?= =?UTF-8?q?=E6=97=B6=E4=BB=85=E5=8C=85=E5=90=AB=E6=BF=80=E6=B4=BB=E7=9A=84?= =?UTF-8?q?LoRA",=20see=20#669?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 1cdbb9a85180bb8308fb64be827d417b96574559. --- web/comfyui/lora_syntax_utils.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/web/comfyui/lora_syntax_utils.js b/web/comfyui/lora_syntax_utils.js index 9c05f9eb..b7be3d2b 100644 --- a/web/comfyui/lora_syntax_utils.js +++ b/web/comfyui/lora_syntax_utils.js @@ -63,12 +63,6 @@ export function applyLoraValuesToText(originalText, loras) { if (!lora || !lora.name) { return; } - // Only include active LoRAs in the map - // If active property is missing (undefined/null), treat as active for backward compatibility - const isActive = lora.active === undefined || lora.active === null || lora.active === true; - if (!isActive) { - return; - } loraMap.set(lora.name, lora); });