[Bf-blender-cvs] [482f4ca100c] master: UI: Fix wrong use of icons in the Object > Visibility panel when using Cycles
William Reynish
noreply at git.blender.org
Mon Jun 3 16:15:13 CEST 2019
Commit: 482f4ca100c901f551b4f27c0eb0990d7e4ce668
Author: William Reynish
Date: Mon Jun 3 16:15:12 2019 +0200
Branches: master
https://developer.blender.org/rB482f4ca100c901f551b4f27c0eb0990d7e4ce668
UI: Fix wrong use of icons in the Object > Visibility panel when using Cycles
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index a49efb3567f..0dc1e815335 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -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
More information about the Bf-blender-cvs
mailing list