diff --git a/scripts/startup/bl_ui/properties_object.py b/scripts/startup/bl_ui/properties_object.py index 88e9bbac144..5fe7c77a9ce 100644 --- a/scripts/startup/bl_ui/properties_object.py +++ b/scripts/startup/bl_ui/properties_object.py @@ -395,7 +395,7 @@ class OBJECT_PT_visibility(ObjectButtonsPanel, Panel): col = layout.column(heading="Ray Visibility") col.prop(ob, "visible_shadow", text="Shadow", toggle=False) - if ob.type in {'MESH', 'CURVE', 'SURFACE', 'META', 'FONT', 'CURVES', 'POINTCLOUD', 'VOLUME', 'LIGHT'}: + if ob.type in {'MESH', 'CURVE', 'SURFACE', 'META', 'FONT', 'CURVES', 'POINTCLOUD', 'VOLUME'}: layout.separator() col = layout.column(heading="Light Probes") col.prop(ob, "hide_probe_volume", text="Volume", toggle=False, invert_checkbox=True)