krita-ai-diffusion
krita-ai-diffusion copied to clipboard
Add Prompt as Layer Name Interface Option (Defaulted On)
I'm not a fan of seeing the beginning of my long prompts in the preview layer and the new layers that are added on apply, as they are usually cut off long before I can see the difference between two layer names/prompts. I have added an option to turn this off called "Prompt as Layer Name" that is defaulted On to maintain existing behavior. Setting is described as: "Use the positive prompt as the layer name for the preview layer and new layers."
When turned off, the layer names will be "[Preview] (seed)" or "[Generated] (seed)" without the positive prompt added. This will look identical to how it currently looks when your job has an empty positive prompt.
Other changes:
- Added <no prompt> to layer name when the setting is enabled, but the job had no positive prompt.
- Appended seed to the Preview layer name, same as the new applied layer names.