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
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2013-09-13 14:26:20 +0400
committerThomas Dinges <blender@dingto.org>2013-09-13 14:26:20 +0400
commite2171d7408273e3be9913f6a05b96d489080bec3 (patch)
tree3bf2d75c6a4256d777850ce93c38baca2998065a
parent7fb3de281dbb6bf252621846c11fecafffe5507a (diff)
* Fix #36717, don't grey out AO distance property, as it affects the AO Render Pass and AO closure as well.
-rw-r--r--intern/cycles/blender/addon/ui.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 012fc9ea44c..6f7de318463 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -830,12 +830,13 @@ class CyclesWorld_PT_ambient_occlusion(CyclesButtonsPanel, Panel):
def draw(self, context):
layout = self.layout
- light = context.world.light_settings
- layout.active = light.use_ambient_occlusion
+ light = context.world.light_settings
row = layout.row()
- row.prop(light, "ao_factor", text="Factor")
+ sub = row.row()
+ sub.active = light.use_ambient_occlusion
+ sub.prop(light, "ao_factor", text="Factor")
row.prop(light, "distance", text="Distance")