From 65b2f4397c4280c12ebc50c8bf957641e0d73f41 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 5 May 2008 01:46:35 +0000 Subject: matt ebb found a case where removing the "Real" world button was bad. --- source/blender/src/buttons_shading.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/src/buttons_shading.c') 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); } -- cgit v1.2.3