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:
@@ -361,9 +361,6 @@ void BL_Action::Update(float curtime)
|
|||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!m_done)
|
|
||||||
InitIPO();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_obj->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE)
|
if (m_obj->GetGameObjectType() == SCA_IObject::OBJ_ARMATURE)
|
||||||
@@ -446,8 +443,6 @@ void BL_Action::Update(float curtime)
|
|||||||
obj->SetActiveAction(NULL, 0, curtime);
|
obj->SetActiveAction(NULL, 0, curtime);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
InitIPO();
|
|
||||||
m_obj->UpdateIPO(m_localtime, m_ipo_flags & ACT_IPOFLAG_CHILD);
|
m_obj->UpdateIPO(m_localtime, m_ipo_flags & ACT_IPOFLAG_CHILD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user