Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2017-01-20 12:58:03 +0300
committerThomas Dinges <blender@dingto.org>2017-01-20 12:58:03 +0300
commitff1b850081b067ea0b989bdc62c2d85f36e23524 (patch)
tree2c785fd87cc199825bc5a389e25f09d194aa3f6b /intern
parent05ff32bd250d1ad0382fd02ab99af9e514d6f835 (diff)
Fix T50460. Greying out issue with Cycles culling options.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/ui.py11
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):