Updated calls to insert_vert_ipo to be
authorKent Mein <mein@cs.umn.edu>
Mon, 17 Sep 2007 15:32:10 +0000 (15:32 +0000)
committerKent Mein <mein@cs.umn.edu>
Mon, 17 Sep 2007 15:32:10 +0000 (15:32 +0000)
insert_vert_icu since insert_vert_ipo no longer exists.

Kent

source/gameengine/Converter/KX_BlenderSceneConverter.cpp

index 3331d3ff0c41201125ea2fe797da01ac1761a7c4..7ede82f8cce1f5f80e48960759d439d261f8330e 100644 (file)
@@ -796,7 +796,7 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                                if (icu1)
                                                {
                                                        float curVal = position.x();
-                                                       insert_vert_ipo(icu1, frameNumber, curVal);
+                                                       insert_vert_icu(icu1, frameNumber, curVal);
 #ifdef TEST_HANDLES_GAME2IPO
                                                        testhandles_ipocurve(icu1);
 #endif
@@ -805,7 +805,7 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                                if (icu1)
                                                {
                                                        float curVal = position.y();
-                                                       insert_vert_ipo(icu1, frameNumber, curVal);
+                                                       insert_vert_icu(icu1, frameNumber, curVal);
 #ifdef TEST_HANDLES_GAME2IPO
 
                                                        testhandles_ipocurve(icu1);
@@ -815,7 +815,7 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                                if (icu1)
                                                {
                                                        float curVal = position.z();
-                                                       insert_vert_ipo(icu1, frameNumber, curVal);
+                                                       insert_vert_icu(icu1, frameNumber, curVal);
 #ifdef TEST_HANDLES_GAME2IPO
                                                        testhandles_ipocurve(icu1);
 #endif
@@ -824,7 +824,7 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                                if (icu1)
                                                {
                                                        float curVal = eulerAngles[0];
-                                                       insert_vert_ipo(icu1, frameNumber, curVal);
+                                                       insert_vert_icu(icu1, frameNumber, curVal);
 #ifdef TEST_HANDLES_GAME2IPO
 
                                                        testhandles_ipocurve(icu1);
@@ -834,7 +834,7 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                                if (icu1)
                                                {
                                                        float curVal = eulerAngles[1];
-                                                       insert_vert_ipo(icu1, frameNumber, curVal);
+                                                       insert_vert_icu(icu1, frameNumber, curVal);
 #ifdef TEST_HANDLES_GAME2IPO
 
                                                        testhandles_ipocurve(icu1);
@@ -844,7 +844,7 @@ void        KX_BlenderSceneConverter::WritePhysicsObjectToAnimationIpo(int frameNumber)
                                                if (icu1)
                                                {
                                                        float curVal = eulerAngles[2];
-                                                       insert_vert_ipo(icu1, frameNumber, curVal);
+                                                       insert_vert_icu(icu1, frameNumber, curVal);
 #ifdef TEST_HANDLES_GAME2IPO
                                                        
                                                        testhandles_ipocurve(icu1);