Fix for bug #28979 "Action actuator breaks animation" reported by Goran Milovanovic...
[blender.git] / source / gameengine / Ketsji / BL_Action.cpp
index 08794042e374f0ded6bee8616bf233a7e32d4e85..9e8f53ad21980c17712689d60b6188f1c2423e7a 100644 (file)
@@ -361,9 +361,6 @@ void BL_Action::Update(float curtime)
 
                        break;
                }
-
-               if (!m_done)
-                       InitIPO();
        }
 
        if (m_obj->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE)
@@ -446,8 +443,6 @@ void BL_Action::Update(float curtime)
                        obj->SetActiveAction(NULL, 0, curtime);
                }
 
-
-               InitIPO();
                m_obj->UpdateIPO(m_localtime, m_ipo_flags & ACT_IPOFLAG_CHILD);
        }
 }