GPv3: Show 'Use Lights' object setting in Visibility panel

This commit is contained in:
Falk David
2024-03-12 17:40:15 +01:00
parent 68c5e35be1
commit 2ef441d87e

View File

@@ -402,7 +402,7 @@ class OBJECT_PT_visibility(ObjectButtonsPanel, Panel):
col.prop(ob, "hide_probe_sphere", text="Sphere", toggle=False, invert_checkbox=True)
col.prop(ob, "hide_probe_plane", text="Plane", toggle=False, invert_checkbox=True)
if ob.type == 'GPENCIL':
if ob.type in {'GPENCIL', 'GREASEPENCIL'}:
col = layout.column(heading="Grease Pencil")
col.prop(ob, "use_grease_pencil_lights", toggle=False)