dream-textures icon indicating copy to clipboard operation
dream-textures copied to clipboard

Please make prompt text field bigger

Open vtushevskiy opened this issue 3 years ago • 4 comments

Please make prompt text field bigger - several strings, not one

vtushevskiy avatar Oct 04 '22 03:10 vtushevskiy

I'm not sure I understand. Do you mean the text should wrap to multiple lines?

carson-katri avatar Oct 04 '22 21:10 carson-katri

Yes multiple lines text field that contain long prompt textOn Oct 4, 2022, at 14:50, Carson Katri @.***> wrote: I'm not sure I understand. Do you mean the text should wrap to multiple lines?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

vtushevskiy avatar Oct 04 '22 22:10 vtushevskiy

I'm not sure I understand. Do you mean the text should wrap to multiple lines?

i mean he could just drag out the border to see the line further but he means like being able to set a "Enter" for multiple lines just like in any text programms without having to do the separations with "|" for example

RazorWolvendom avatar Oct 04 '22 23:10 RazorWolvendom

Agree, last update was great but changing long prompts still is a pain :) multiline is the way to go

difreo avatar Oct 09 '22 17:10 difreo

I found a pretty hacky way to edit prompts with multi-line capability.

Right click the prompt and select Copy Full Data Path, then enter the Blender Scripting tab, add import bpy on the first line and paste the path in on the second followed by = and then wrap your text in triple double quotes """ like so:

import bpy

bpy.data.scenes["Scene"].dream_textures_prompt.prompt_structure_token_subject = """
X
Y
Z
"""

Finally, run the script and mouse over the ui to run the draw update call.

Viola! Multi-line text editing of prompts within Blender.

You can also add bpy.ops.shade.dream_texture() to the last line of the script and render your prompts with the hotkey Alt + P from the scripting menu with this setup.

Maybe adding a right click option to automate most of that could be nice since the Blender UI seems to not support any simple method for multi-line text input nor text wrapping.

JasonHoku avatar Jan 16 '23 18:01 JasonHoku

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] avatar Mar 22 '23 01:03 github-actions[bot]

This issue was closed because it has been inactive for 7 days since being marked as stale.

github-actions[bot] avatar Mar 29 '23 01:03 github-actions[bot]