mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-10-29 20:15:35 +00:00
fix memory leak in previous commit (delete m_solverDeformableBodyIslandCallback!)
This commit is contained in:
@@ -66,6 +66,11 @@ m_deformableBodySolver(deformableBodySolver), m_solverCallback(0)
|
||||
m_solverDeformableBodyIslandCallback = new DeformableBodyInplaceSolverIslandCallback(constraintSolver, dispatcher);
|
||||
}
|
||||
|
||||
btDeformableMultiBodyDynamicsWorld::~btDeformableMultiBodyDynamicsWorld()
|
||||
{
|
||||
delete m_solverDeformableBodyIslandCallback;
|
||||
}
|
||||
|
||||
void btDeformableMultiBodyDynamicsWorld::internalSingleStepSimulation(btScalar timeStep)
|
||||
{
|
||||
BT_PROFILE("internalSingleStepSimulation");
|
||||
|
||||
Reference in New Issue
Block a user