[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [14686] trunk/blender/source/blender/src/ buttons_shading.c: matt ebb found a case where removing the "Real" world button was bad.
Campbell Barton
ideasman42 at gmail.com
Mon May 5 03:46:38 CEST 2008
Revision: 14686
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=14686
Author: campbellbarton
Date: 2008-05-05 03:46:35 +0200 (Mon, 05 May 2008)
Log Message:
-----------
matt ebb found a case where removing the "Real" world button was bad.
Modified Paths:
--------------
trunk/blender/source/blender/src/buttons_shading.c
Modified: trunk/blender/source/blender/src/buttons_shading.c
===================================================================
--- trunk/blender/source/blender/src/buttons_shading.c 2008-05-05 00:42:18 UTC (rev 14685)
+++ trunk/blender/source/blender/src/buttons_shading.c 2008-05-05 01:46:35 UTC (rev 14686)
@@ -2338,9 +2338,9 @@
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);
}
More information about the Bf-blender-cvs
mailing list