From 97e70ef3c41cc821da86bae0aa6b9830c52e784a Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 25 Feb 2009 17:20:41 +0000 Subject: [PATCH] forgot this file- remove Sumo from the menu if its disabled. --- source/blender/src/buttons_shading.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source/blender/src/buttons_shading.c b/source/blender/src/buttons_shading.c index 98b78d54fff..fe4649f31f4 100644 --- a/source/blender/src/buttons_shading.c +++ b/source/blender/src/buttons_shading.c @@ -2185,8 +2185,13 @@ static void world_panel_mistaph(World *wrld) #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");