diff options
author | Thomas Dinges <blender@dingto.org> | 2017-01-20 12:58:03 +0300 |
---|---|---|
committer | Thomas Dinges <blender@dingto.org> | 2017-01-20 12:58:03 +0300 |
commit | ff1b850081b067ea0b989bdc62c2d85f36e23524 (patch) | |
tree | 2c785fd87cc199825bc5a389e25f09d194aa3f6b | |
parent | 05ff32bd250d1ad0382fd02ab99af9e514d6f835 (diff) |
Fix T50460. Greying out issue with Cycles culling options.
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 925f923dd41..53bd208c0e7 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -787,10 +787,13 @@ class CyclesObject_PT_cycles_settings(CyclesButtonsPanel, Panel): col = layout.column() col.label(text="Performance:") row = col.row() - row.active = scene.render.use_simplify and cscene.use_camera_cull - row.prop(cob, "use_camera_cull") - row.active = scene.render.use_simplify and cscene.use_distance_cull - row.prop(cob, "use_distance_cull") + sub = row.row() + sub.active = scene.render.use_simplify and cscene.use_camera_cull + sub.prop(cob, "use_camera_cull") + + sub = row.row() + sub.active = scene.render.use_simplify and cscene.use_distance_cull + sub.prop(cob, "use_distance_cull") class CYCLES_OT_use_shading_nodes(Operator): |