From cb45d282fe0ef5798bdddb7ac984a8a662e73b20 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 28 Mar 2012 12:18:25 +0000 Subject: Fix #30702: game engine softbody weld threshold was exposed in UI, but actually disabled in code because it doesn't work well, so hide the property from the UI. --- source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/gameengine') diff --git a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp index e26c5b6a7bf..e0e8e2d9b3f 100644 --- a/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp +++ b/source/gameengine/Ketsji/KX_ConvertPhysicsObjects.cpp @@ -209,7 +209,7 @@ void KX_ConvertBulletObject( class KX_GameObject* gameobj, shapeInfo->SetMesh(meshobj, dm, false); } - // Soft bodies require welding. Only avoid remove doubles for non-soft bodies! + // Soft bodies can benefit from welding, don't do it on non-soft bodies if (objprop->m_softbody) { shapeInfo->setVertexWeldingThreshold1(objprop->m_soft_welding); //todo: expose this to the UI -- cgit v1.2.3