diff options
Diffstat (limited to 'intern')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index b049d0bf2b4..129f16b0357 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -1222,6 +1222,7 @@ def has_geometry_visibility(ob): return ob and ((ob.type in {'MESH', 'CURVE', 'SURFACE', 'FONT', 'META', 'LIGHT'}) or (ob.instance_type == 'COLLECTION' and ob.instance_collection)) + class CYCLES_OBJECT_PT_shading(CyclesButtonsPanel, Panel): bl_label = "Shading" bl_context = "object" @@ -1244,6 +1245,7 @@ class CYCLES_OBJECT_PT_shading(CyclesButtonsPanel, Panel): col = flow.column() col.prop(cob, "shadow_terminator_offset") + class CYCLES_OBJECT_PT_visibility(CyclesButtonsPanel, Panel): bl_label = "Visibility" bl_context = "object" |