carson-katri / dream-textures

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

error when clicking generate #762

Closed TearsRfuel closed 8 months ago

TearsRfuel commented 9 months ago

Description

Python: Traceback (most recent call last): File "C:\Users\Me\AppData\Roaming\Blender Foundation\Blender\4.0\scripts\addons\dream_textures\engine\annotations\depth.py", line 32, in _execute shader = gpu.shader.from_builtin('3D_UNIFORM_COLOR') ValueError: expected a string in ('FLAT_COLOR', 'IMAGE', 'IMAGE_COLOR', 'SMOOTH_COLOR', 'UNIFORM_COLOR', 'POLYLINE_FLAT_COLOR', 'POLYLINE_SMOOTH_COLOR', 'POLYLINE_UNIFORM_COLOR'), got '3D_UNIFORM_COLOR'

Steps to Reproduce

click on generate image

Expected Behavior

an image to generate

Addon Version

Windows (CUDA)

GPU

NVIDIA

Greaterist commented 9 months ago

'3D_UNIFORM_COLOR' was removed in blender 4. Use blender 3.6