Skip to content

Transform your 3D texturing workflow with the power of generative AI, directly within Blender!

fix qwen guidance prompt not getting fetched when using external style image with additional context render mode

sakalond5b3968f3a3a7
diff --git a/stablegen/workflows.py b/stablegen/workflows.py
index 1228b61..87ec5ac 100644
--- a/stablegen/workflows.py
+++ b/stablegen/workflows.py
@@ -171,6 +171,12 @@ class WorkflowManager:
else:
pos_prompt_text = self._get_qwen_default_prompts(context, is_initial_image).format(main_prompt=user_prompt)
prompt[NODES['pos_prompt']]['inputs']['prompt'] = pos_prompt_text
+ else: # Additional mode
+ if context.scene.qwen_use_custom_prompts:
+ pos_prompt_text = ()
+ else:
+ pos_prompt_text = self._get_qwen_default_prompts(context, is_initial_image).format(main_prompt=user_prompt)
+ prompt[NODES['pos_prompt']]['inputs']['prompt'] = pos_prompt_text
# Case 2: Sequential generation (after first image)
elif not is_initial_image: