carson-katri / dream-textures

Stable Diffusion built-in to Blender
GNU General Public License v3.0
7.78k stars 418 forks source link

Image File Naming Bug #734

Closed enzyme69 closed 8 months ago

enzyme69 commented 10 months ago

Description

Image file naming for generated is not right

Steps to Reproduce

Generate image using image editor as usual. Provide list of batch of text to generate image. Use a very long prompt. Make batch again and again, sometimes the name is using the old one.

Expected Behavior

The naming should match prompt regardless how long the prompt is.

Addon Version

macOS (Apple Silicon)

GPU

Apple Silicon

enzyme69 commented 10 months ago

Below is prompt VS what file naming I got, the one after many text. It's still using ULTRAMAN instead of DINO

Screenshot 2023-11-08 at 8 23 35 am Screenshot 2023-11-08 at 8 23 42 am
carson-katri commented 10 months ago

Blender has a length limit of 64 on image datablock names, so we need to truncate it.

github-actions[bot] commented 8 months ago

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

github-actions[bot] commented 8 months ago

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