[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [19118] trunk/blender/source/blender/src/ buttons_shading.c: forgot this file- remove Sumo from the menu if its disabled.

Campbell Barton ideasman42 at gmail.com
Wed Feb 25 18:20:45 CET 2009


Revision: 19118
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=19118
Author:   campbellbarton
Date:     2009-02-25 18:20:41 +0100 (Wed, 25 Feb 2009)

Log Message:
-----------
forgot this file- remove Sumo from the menu if its disabled.

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	2009-02-25 17:19:30 UTC (rev 19117)
+++ trunk/blender/source/blender/src/buttons_shading.c	2009-02-25 17:20:41 UTC (rev 19118)
@@ -2185,9 +2185,14 @@
 #ifdef USE_ODE
 			  "Physics %t|None %x0|Sumo %x2|Ode %x4 |Bullet %x5",
 #else
-			  //"Physics %t|None %x0|Sumo %x2|Bullet %x5", //disable Sumo, until too many people complain ;-)
+
+#ifdef USE_SUMO_SOLID
 			  "Physics %t|None %x0|Sumo (deprecated) %x2|Bullet %x5",
+#else
+			  "Physics %t|None %x0|Bullet %x5", //disable Sumo, until too many people complain ;-)
 #endif
+
+#endif
 			  10,180,140,19, &wrld->physicsEngine, 0, 0, 0, 0, 
 			  "Physics Engine");
 	





More information about the Bf-blender-cvs mailing list