Fix V2 identity queue validation by filling unused ref slots.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -234,13 +234,8 @@ function applyV2IdentityPath(
|
||||
graph['176'].inputs.lora_name = 'minimax_h3_ref2v_turbo_4step_v0.1_comfyui_bf16.safetensors'
|
||||
}
|
||||
V2_REF_LOADERS.forEach((id, index) => {
|
||||
const name = refs[index]
|
||||
if (name && graph[id]) {
|
||||
graph[id].inputs.image = name
|
||||
return
|
||||
}
|
||||
delete graph[id]
|
||||
if (graph['155']?.inputs) delete graph['155'].inputs[`ref_images.ref_image_${index + 1}`]
|
||||
if (!graph[id]) return
|
||||
graph[id].inputs.image = refs[index] || params.imageName
|
||||
})
|
||||
if (graph['150']?.inputs) graph['150'].inputs.value = true
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user