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>2011-07-24 15:24:30 +0400
committerThomas Dinges <blender@dingto.org>2011-07-24 15:24:30 +0400
commit4ab7c6ae1a6d9867d30d5eb960aece38bb0233f7 (patch)
treeb06efc11f43158b614e1efc4929ed36341f3cf69
parentb401d09d8f05d5b7fd81bbaaa27722f24faba165 (diff)
2.5 World Buttons:
* Exposure and Color Range buttons were missing, added them back.
-rw-r--r--release/scripts/startup/bl_ui/properties_world.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/properties_world.py b/release/scripts/startup/bl_ui/properties_world.py
index 4f398c9fbd9..0272667e754 100644
--- a/release/scripts/startup/bl_ui/properties_world.py
+++ b/release/scripts/startup/bl_ui/properties_world.py
@@ -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):