Set CAnimData pose cached flag

This commit is contained in:
Phillip Stephens 2016-09-02 20:50:00 -07:00
parent 8422ffb436
commit 5979ccaf93
1 changed files with 3 additions and 0 deletions

View File

@ -183,7 +183,10 @@ zeus::CTransform CAnimData::GetLocatorTransform(CSegId id, const CCharAnimTime*
zeus::CTransform ret;
if (!x220_31_poseCached)
{
const_cast<CAnimData*>(this)->RecalcPoseBuilder(time);
const_cast<CAnimData*>(this)->x220_31_poseCached = true;
}
x2fc_poseBuilder.BuildTransform(id, ret);
return ret;