diff options
author | Ton Roosendaal <ton@blender.org> | 2008-01-25 18:06:35 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-01-25 18:06:35 +0300 |
commit | bd4cf4bc6689160acd2a9e891c033c55dea0b036 (patch) | |
tree | fd8bb61f9c7c231f9f0669c0348a0f481825bb2a /source/blender/src/buttons_shading.c | |
parent | bd321b8afe485138bd81785cbdf36f0a27378528 (diff) |
Feature: we're using "non linear lighting" now, using exposure/range in
world. That allows more extreme lamps (areas too).
To make it work more intuitive, the preview renders in buttons now use
the settings for exposure too.
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r-- | source/blender/src/buttons_shading.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 2ac76942da7..be307a649b3 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -2283,8 +2283,8 @@ static void world_panel_world(World *wrld) uiBlockBeginAlign(block); uiBlockSetCol(block, TH_BUT_SETTING1); - uiDefButF(block, NUMSLI,B_WORLDPRV, "Exp ", 160,30,145,19, &(wrld->exp), 0.0, 1.0, 0, 2, "Sets amount of exponential color correction for light"); - uiDefButF(block, NUMSLI,B_WORLDPRV, "Range ", 160,10,145,19, &(wrld->range), 0.2, 5.0, 0, 2, "Sets the color amount that will be mapped on color 1.0"); + uiDefButF(block, NUMSLI,B_WORLDPRV2, "Exp ", 160,30,145,19, &(wrld->exp), 0.0, 1.0, 0, 2, "Sets amount of exponential color correction for light"); + uiDefButF(block, NUMSLI,B_WORLDPRV2, "Range ", 160,10,145,19, &(wrld->range), 0.2, 5.0, 0, 2, "Sets the color amount that will be mapped on color 1.0"); } @@ -2968,7 +2968,7 @@ void do_matbuts(unsigned short event) allqueue(REDRAWBUTSSHADING, 0); break; case B_WORLDPRV2: - BIF_preview_changed(ID_WO); + BIF_preview_changed(ID_TE); allqueue(REDRAWBUTSSHADING, 0); allqueue(REDRAWVIEW3D, 0); break; |