From 2c289a02b6907204ba322071938578554d5409f7 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Mon, 29 Sep 2008 07:17:12 +0000 Subject: Clarify that in Bullet, the 'radius' is used for both sphere bounds, but also for Fh/Rot Fh. So even if other bound types are used (such as box etc), the radius will be used for Fh/Rot Fh. --- source/blender/src/buttons_logic.c | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'source/blender/src/buttons_logic.c') diff --git a/source/blender/src/buttons_logic.c b/source/blender/src/buttons_logic.c index 54a53c08a55..5fbbf4d80c3 100644 --- a/source/blender/src/buttons_logic.c +++ b/source/blender/src/buttons_logic.c @@ -3132,16 +3132,11 @@ void buttons_bullet(uiBlock *block, Object *ob) if (!(ob->gameflag & OB_SOFT_BODY)) { - if (!(ob->gameflag & OB_BOUNDS) || (ob->boundtype==OB_BOUND_SPHERE)) - { - uiDefButF(block, NUM, REDRAWVIEW3D, "Radius:", 140, 185, 130, 19, + + uiDefButF(block, NUM, REDRAWVIEW3D, "Radius:", 140, 185, 130, 19, &ob->inertia, 0.01, 10.0, 10, 2, - "Bounding sphere radius"); - } else - { - uiBlockEndAlign(block); - uiBlockBeginAlign(block); - } + "Radius for Bounding sphere and Fh/Fh Rot"); + uiDefButBitI(block, TOG, OB_COLLISION_RESPONSE, B_REDR, "No sleeping", 270,185,80,19, &ob->gameflag, 0, 0, 0, 0, "Disable auto (de)activation"); -- cgit v1.2.3