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:
authorTon Roosendaal <ton@blender.org>2004-04-18 20:18:08 +0400
committerTon Roosendaal <ton@blender.org>2004-04-18 20:18:08 +0400
commit713a0ceefea27ea3d0b3a18a5d21cbe65803b93c (patch)
tree8236f698bcef1ad0a8ab0b610c8d77279787d640 /source/blender/src/buttons_shading.c
parent02dfa98a895843a518667b77db066155e8237edb (diff)
Found error in Energy for AO. This didnt work correctly for 'sub' and 'add
and sub' methods. Also reduced limit for slider. AO energy of value 50 was useless.
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r--source/blender/src/buttons_shading.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c
index a1bdeb8e98c..ee16813f811 100644
--- a/source/blender/src/buttons_shading.c
+++ b/source/blender/src/buttons_shading.c
@@ -1731,7 +1731,7 @@ static void world_panel_amb_occ(World *wrld)
uiDefButS(block, ROW, B_REDR, "Sky Texture", 210, 25, 100, 20, &wrld->aocolor, 2.0, (float)WO_AOSKYTEX, 0, 0, "Does full Sky texture render for diffuse energy");
uiBlockEndAlign(block);
- uiDefButF(block, NUMSLI, 0, "Energy:", 10, 0, 300, 19, &wrld->aoenergy, 0.01, 50.0, 100, 0, "Sets global energy scale for AO");
+ uiDefButF(block, NUMSLI, 0, "Energy:", 10, 0, 300, 19, &wrld->aoenergy, 0.01, 3.0, 100, 0, "Sets global energy scale for AO");
}
}