fix(ui): fix control image not used if processor type is none

This commit is contained in:
psychedelicious 2023-06-06 21:00:44 +10:00
parent 6245a27650
commit 00eabf630d

View File

@ -63,7 +63,7 @@ export const addControlNetToLinearGraph = (
image_name, image_name,
image_origin, image_origin,
}; };
} else if (controlImage && processorType !== 'none') { } else if (controlImage) {
// The control image is preprocessed // The control image is preprocessed
const { image_name, image_origin } = controlImage; const { image_name, image_origin } = controlImage;
controlNetNode.image = { controlNetNode.image = {