avoid one redundant motionstate synchronization
minor warning fix
This commit is contained in:
@@ -343,9 +343,10 @@ int btDiscreteDynamicsWorld::stepSimulation( btScalar timeStep,int maxSubSteps,
|
||||
synchronizeMotionStates();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
synchronizeMotionStates();
|
||||
} else
|
||||
{
|
||||
synchronizeMotionStates();
|
||||
}
|
||||
|
||||
clearForces();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user