2.5 World Buttons:
authorThomas Dinges <blender@dingto.org>
Sun, 24 Jul 2011 11:24:30 +0000 (11:24 +0000)
committerThomas Dinges <blender@dingto.org>
Sun, 24 Jul 2011 11:24:30 +0000 (11:24 +0000)
* Exposure and Color Range buttons were missing, added them back.

release/scripts/startup/bl_ui/properties_world.py

index 4f398c9fbd97daef2431bc37c12f3772bbf2ed10..0272667e754a890dd5afbc66a1bf016c3d3a9dee 100644 (file)
@@ -20,8 +20,6 @@
 import bpy
 from rna_prop_ui import PropertyPanel
 
-# TODO, "color_range" not in the UI
-
 
 class WorldButtonsPanel():
     bl_space_type = 'PROPERTIES'
@@ -95,6 +93,10 @@ class WORLD_PT_world(WorldButtonsPanel, bpy.types.Panel):
         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):