[Bf-blender-cvs] [c671b5eee40] master: Fix Cycles ray visibility panel missing for volume objects
Brecht Van Lommel
noreply at git.blender.org
Fri Nov 12 18:00:42 CET 2021
Commit: c671b5eee40ca413a610a9cd06e20e8877db6fca
Author: Brecht Van Lommel
Date: Wed Nov 3 19:47:45 2021 +0100
Branches: master
https://developer.blender.org/rBc671b5eee40ca413a610a9cd06e20e8877db6fca
Fix Cycles ray visibility panel missing for volume objects
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 7bac7e46117..635d92c2629 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -1054,7 +1054,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))
More information about the Bf-blender-cvs
mailing list