- fix for BGE warnings
[blender.git] / source / gameengine / Converter / KX_BlenderSceneConverter.cpp
index ebabaa55e21c60fb0fb9f0f610951721af5b67fe..3220672c392bc4774ef2747fa8f662f0dc2f3276 100644 (file)
@@ -795,6 +795,7 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                Object* blenderObject = gameObj->GetBlenderObject();
                                if (blenderObject && blenderObject->ipo)
                                {
+#if 0
                                        const MT_Point3& position = gameObj->NodeGetWorldPosition();
                                        //const MT_Vector3& scale = gameObj->NodeGetWorldScaling();
                                        const MT_Matrix3x3& orn = gameObj->NodeGetWorldOrientation();
@@ -804,7 +805,6 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                        float tmat[3][3];
                                        
                                        // XXX animato
-#if 0
                                        Ipo* ipo = blenderObject->ipo;
 
                                        //create the curves, if not existing, set linear if new