UI: Fix wrong use of icons in the Object > Visibility panel when using Cycles

This commit is contained in:
William Reynish 2019-06-03 16:15:12 +02:00
parent 95f5272bda
commit 482f4ca100
1 changed files with 3 additions and 3 deletions

View File

@ -1195,11 +1195,11 @@ class CYCLES_OBJECT_PT_visibility(CyclesButtonsPanel, Panel):
ob = context.object
col = flow.column()
col.prop(ob, "hide_viewport", text="Show in Viewports", invert_checkbox=True)
col.prop(ob, "hide_viewport", text="Show in Viewports", invert_checkbox=True, toggle=False)
col = flow.column()
col.prop(ob, "hide_render", text="Show in Renders", invert_checkbox=True)
col.prop(ob, "hide_render", text="Show in Renders", invert_checkbox=True, toggle=False)
col = flow.column()
col.prop(ob, "hide_select", text="Selectable", invert_checkbox=True)
col.prop(ob, "hide_select", text="Selectable", invert_checkbox=True, toggle=False)
if has_geometry_visibility(ob):
cob = ob.cycles