[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60102] trunk/blender/intern/cycles/ blender/addon/ui.py: * Fix #36717, don't grey out AO distance property, as it affects the AO Render Pass and AO closure as well.

Thomas Dinges blender at dingto.org
Fri Sep 13 12:26:20 CEST 2013


Revision: 60102
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60102
Author:   dingto
Date:     2013-09-13 10:26:20 +0000 (Fri, 13 Sep 2013)
Log Message:
-----------
* Fix #36717, don't grey out AO distance property, as it affects the AO Render Pass and AO closure as well. 

Modified Paths:
--------------
    trunk/blender/intern/cycles/blender/addon/ui.py

Modified: trunk/blender/intern/cycles/blender/addon/ui.py
===================================================================
--- trunk/blender/intern/cycles/blender/addon/ui.py	2013-09-13 09:49:49 UTC (rev 60101)
+++ trunk/blender/intern/cycles/blender/addon/ui.py	2013-09-13 10:26:20 UTC (rev 60102)
@@ -830,12 +830,13 @@
 
     def draw(self, context):
         layout = self.layout
+
         light = context.world.light_settings
 
-        layout.active = light.use_ambient_occlusion
-
         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")
 
 




More information about the Bf-blender-cvs mailing list