diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-11-03 21:47:45 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-11-12 18:18:07 +0300 |
commit | d48523cb4d4f14016084abe9140d2e0d0ddee612 (patch) | |
tree | 0bf33d134c16b4a10084f5d22054480013ee3be0 /intern | |
parent | b4cfe80547244e69017bb9c8432a4b18c21b5a6b (diff) |
Fix Cycles ray visibility panel missing for volume objects
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 0c9179b4ccf..428b9b25469 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -1051,7 +1051,7 @@ class CYCLES_OBJECT_PT_motion_blur(CyclesButtonsPanel, Panel): def has_geometry_visibility(ob): - return ob and ((ob.type in {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META', 'LIGHT'}) or + return ob and ((ob.type in {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META', 'LIGHT', 'VOLUME', 'POINTCLOUD', 'HAIR'}) or (ob.instance_type == 'COLLECTION' and ob.instance_collection)) |