fix(ui): graph building issue w/ controlnet

This commit is contained in:
psychedelicious 2024-08-24 14:48:18 +10:00
parent 5240ec6e6f
commit 590ae70c12
2 changed files with 2 additions and 2 deletions

View File

@ -233,7 +233,7 @@ export const buildSD1Graph = async (
state.canvasV2.controlLayers.entities,
g,
state.canvasV2.bbox.rect,
controlNetCollector,
t2iAdapterCollector,
modelConfig.base
);
if (t2iAdapterResult.addedT2IAdapters > 0) {

View File

@ -236,7 +236,7 @@ export const buildSDXLGraph = async (
state.canvasV2.controlLayers.entities,
g,
state.canvasV2.bbox.rect,
controlNetCollector,
t2iAdapterCollector,
modelConfig.base
);
if (t2iAdapterResult.addedT2IAdapters > 0) {