forked from bartvdbraak/blender
Lower the vertex welding threshold, for removing duplicate/nearby vertices for soft bodies (this broke susanne softbody regression test)
This commit is contained in:
parent
f64265d714
commit
d2ff190dfb
@ -38,7 +38,7 @@
|
||||
|
||||
#include "KX_BlenderSceneConverter.h"
|
||||
#include "KX_ConvertActuators.h"
|
||||
|
||||
#include "SND_Scene.h"
|
||||
// Actuators
|
||||
//SCA logiclibrary native logicbricks
|
||||
#include "SCA_PropertyActuator.h"
|
||||
|
@ -905,7 +905,7 @@ void KX_ConvertBulletObject( class KX_GameObject* gameobj,
|
||||
|
||||
// Soft bodies require welding. Only avoid remove doubles for non-soft bodies!
|
||||
if (objprop->m_softbody)
|
||||
shapeInfo->setVertexWeldingThreshold1(0.01f); //todo: expose this to the UI
|
||||
shapeInfo->setVertexWeldingThreshold1(0.0001f); //todo: expose this to the UI
|
||||
|
||||
bm = shapeInfo->CreateBulletShape();
|
||||
//no moving concave meshes, so don't bother calculating inertia
|
||||
|
@ -34,7 +34,7 @@
|
||||
|
||||
#include "KX_Scene.h"
|
||||
#include "MT_assert.h"
|
||||
|
||||
#include "SND_Scene.h"
|
||||
#include "KX_KetsjiEngine.h"
|
||||
#include "KX_BlenderMaterial.h"
|
||||
#include "RAS_IPolygonMaterial.h"
|
||||
|
@ -43,7 +43,7 @@
|
||||
#include "SG_IObject.h"
|
||||
#include "SCA_IScene.h"
|
||||
#include "MT_Transform.h"
|
||||
#include "SND_Scene.h"
|
||||
|
||||
#include "RAS_FramingManager.h"
|
||||
#include "RAS_Rect.h"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user