Generate is Disabled When Opening a Blend File
NullSenseStudio opened this issue · comments
NullSenseStudio commented
Description
Generating any image is disabled when opening a .blend file, starting Blender directly and then using its File > Open...
alternatively does not. Releasing the generator doesn't help.
The console gets spammed with 'str' object has no attribute 'model_type'
. I've tracked this down to
dream-textures/ui/panels/dream_texture.py
Lines 368 to 369 in 4f210c5
This actual error is occurring here
dream-textures/diffusers_backend.py
Lines 263 to 268 in 4f210c5
For some reason
model_lookup
is not being updated and just returns the model id string.
It can be made to update by installing another model: either downloading, importing, or linking.
Steps to Reproduce
- open Blender and save a new .blend file
- close Blender
- open .blend file from file explorer (NOT from within Blender
File > Open...
/File > Open Recent
)
Expected Behavior
Generate button to not be disabled.
Addon Version
Windows (CUDA)
GPU
NVIDIA