mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-21 21:22:11 -03:00
Revert "修复:在应用LoRA值到文本时仅包含激活的LoRA", see #669
This reverts commit 1cdbb9a851.
This commit is contained in:
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user