Fix for bug #28979 "Action actuator breaks animation" reported by Goran Milovanovic. Apparently IPO options can be set too frequently...

This commit is contained in:
Mitchell Stokes 2011-10-20 07:20:17 +00:00
parent 7aca04ad0a
commit f1fe89acf1

@ -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);
}
}