diff options
author | Campbell Barton <campbell@blender.org> | 2022-05-13 12:21:54 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-05-13 12:22:52 +0300 |
commit | 58555ccc7aabecd6349de816af29be33f0fc9941 (patch) | |
tree | bb57ad370c5d9051d6f56eee4f240cb07e39eb37 /intern/cycles/blender/addon/ui.py | |
parent | 8741cf20380c7037cbde5f0935610e985ad7c62a (diff) |
Cleanup: format (with autopep8 line wrapping applied)
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 886f5345020..9d2dbdf6732 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -1082,8 +1082,18 @@ 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', 'VOLUME', 'POINTCLOUD', 'CURVES'}) or - (ob.instance_type == 'COLLECTION' and ob.instance_collection)) + return ob and ( + (ob.type in { + 'MESH', + 'CURVE', + 'SURFACE', + 'FONT', + 'META', + 'LIGHT', + 'VOLUME', + 'POINTCLOUD', + 'CURVES', + }) or (ob.instance_type == 'COLLECTION' and ob.instance_collection)) class CYCLES_OBJECT_PT_shading(CyclesButtonsPanel, Panel): |