matt ebb found a case where removing the "Real" world button was bad.

This commit is contained in:
Campbell Barton
2008-05-05 01:46:35 +00:00
parent 17db1906c8
commit 65b2f4397c

View File

@@ -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);
}