Some rigidbody dynamics fixes (scaling again) to make Happy 2006 domino simulation...
[blender-staging.git] / source / gameengine / Physics / Bullet / CcdPhysicsEnvironment.cpp
index 3a500a833c83f9dbc9c9a026210da873ccbb493f..0a0b4939ea5d9ee24ea6bea29aad1757e9581bed 100644 (file)
@@ -296,7 +296,10 @@ void       CcdPhysicsEnvironment::UpdateActivationState()
        
 }
 
+void   CcdPhysicsEnvironment::beginFrame()
+{
 
+}
 
 /// Perform an integration step of duration 'timeStep'.
 bool   CcdPhysicsEnvironment::proceedDeltaTime(double curTime,float timeStep)
@@ -322,8 +325,8 @@ bool        CcdPhysicsEnvironment::proceedDeltaTime(double curTime,float timeStep)
        //this is needed because scaling is not known in advance, and scaling has to propagate to the shape
        if (!m_scalingPropagated)
        {
-               //SyncMotionStates(timeStep);
-               //m_scalingPropagated = true;
+               SyncMotionStates(timeStep);
+               m_scalingPropagated = true;
        }