[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [38656] trunk/blender/release/scripts/ startup/bl_ui/properties_world.py: 2.5 World Buttons:

Thomas Dinges blender at dingto.org
Sun Jul 24 13:24:30 CEST 2011


Revision: 38656
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=38656
Author:   dingto
Date:     2011-07-24 11:24:30 +0000 (Sun, 24 Jul 2011)
Log Message:
-----------
2.5 World Buttons:
* Exposure and Color Range buttons were missing, added them back. 

Modified Paths:
--------------
    trunk/blender/release/scripts/startup/bl_ui/properties_world.py

Modified: trunk/blender/release/scripts/startup/bl_ui/properties_world.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_world.py	2011-07-24 11:11:23 UTC (rev 38655)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_world.py	2011-07-24 11:24:30 UTC (rev 38656)
@@ -20,9 +20,7 @@
 import bpy
 from rna_prop_ui import PropertyPanel
 
-# TODO, "color_range" not in the UI
 
-
 class WorldButtonsPanel():
     bl_space_type = 'PROPERTIES'
     bl_region_type = 'WINDOW'
@@ -95,6 +93,10 @@
         col.prop(world, "zenith_color")
         col.active = world.use_sky_blend
         row.column().prop(world, "ambient_color")
+        
+        row = layout.row()
+        row.prop(world, "exposure")
+        row.prop(world, "color_range")
 
 
 class WORLD_PT_ambient_occlusion(WorldButtonsPanel, bpy.types.Panel):




More information about the Bf-blender-cvs mailing list