Error in Blender 4.0 MacOS Apple Silicon
hemanth-x opened this issue · comments
Description
Python: Traceback (most recent call last):
File "/Users/hemanthsubbiah/Library/Application Support/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
- Install stable-diffusion-2-depth
- Create a cube -> Edit mode -> Subdivide the mesh couple of times -> Press 'a' to select all faces -> Run "Project dream texture" with configuration as shown in image.
Expected Behavior
Works as expected in Blender 3.5x versions, but not working in Blender 4.0. Used same machine. The texture generation model works as expected in Blender 4.0 though. Only the depth model is having issue.
Addon Version
macOS (Apple Silicon)
GPU
Apple Silicon
Using the command-line-rendering branch solves the problem for me.
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 7 days since being marked as stale.