feat: only update uov last prompt when all preconditions are met
This commit is contained in:
parent
3fae0cf15a
commit
b2a23262fc
|
|
@ -1386,7 +1386,8 @@ def worker():
|
|||
preparation_steps, enhance_steps, switch, tiled, total_count, use_expansion, use_style,
|
||||
use_synthetic_refiner, width)
|
||||
|
||||
if async_task.enhance_uov_prompt_type == flags.enhancement_uov_prompt_type_last:
|
||||
if (should_process_enhance_uov and async_task.enhance_uov_processing_order == flags.enhancement_uov_after
|
||||
and async_task.enhance_uov_prompt_type == flags.enhancement_uov_prompt_type_last):
|
||||
if enhance_prompt_processed != '':
|
||||
last_enhance_prompt = enhance_prompt_processed
|
||||
if enhance_negative_prompt_processed != '':
|
||||
|
|
|
|||
Loading…
Reference in New Issue