Hooked up 'disable deactivation mode' via debugMode
This commit is contained in:
1 parent
15840d7bb0
commit
1fe414d98a
1 file changed
+5
@@ -121,6 +121,11 @@ void btDiscreteDynamicsWorld::synchronizeMotionStates()
|
||||
void btDiscreteDynamicsWorld::stepSimulation(float timeStep, int numSubsteps)
|
||||
{
|
||||
|
||||
//process some debugging flags
|
||||
if (getDebugDrawer())
|
||||
{
|
||||
gDisableDeactivation = (getDebugDrawer()->getDebugMode() & btIDebugDraw::DBG_NoDeactivation) != 0;
|
||||
}
|
||||
if (!btFuzzyZero(timeStep) && numSubsteps)
|
||||
{
|
||||
|
||||
|
||||
Reference in new issue
Block a user