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:
authorCampbell Barton <ideasman42@gmail.com>2008-05-05 05:46:35 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-05 05:46:35 +0400
commit65b2f4397c4280c12ebc50c8bf957641e0d73f41 (patch)
treed8cbce52fb3beb94de15a7500d1ba370450444c0 /source/blender/src/buttons_shading.c
parent17db1906c8f141f735f279c82b2d5cb95b8e78cc (diff)
matt ebb found a case where removing the "Real" world button was bad.
Diffstat (limited to 'source/blender/src/buttons_shading.c')
-rw-r--r--source/blender/src/buttons_shading.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c
index 9704b0186cd..b46679898b4 100644
--- a/source/blender/src/buttons_shading.c
+++ b/source/blender/src/buttons_shading.c
@@ -2338,9 +2338,9 @@ static void world_panel_preview(World *wrld)
uiBlockBeginAlign(block);
uiDefButBitS(block, TOG, WO_SKYBLEND, B_WORLDPRV,"Blend", 220,175,100,25, &wrld->skytype, 0, 0, 0, 0, "Renders background with natural progression from horizon to zenith");
uiDefButBitS(block, TOG,WO_SKYPAPER, B_WORLDPRV,"Paper", 220,150,100,25, &wrld->skytype, 0, 0, 0, 0, "Flattens blend or texture coordinates");
- if (wrld->skytype & WO_SKYBLEND) {
+ /*if (wrld->skytype & WO_SKYBLEND) {*/ /* In some (rare?) cases its possible to use this, leave this out for now */
uiDefButBitS(block, TOG, WO_SKYREAL, B_WORLDPRV,"Real", 220,125,100,25, &wrld->skytype, 0, 0, 0, 0, "Renders background with a real horizon");
- }
+ /*}*/
uiBlockEndAlign(block);
}