mirror of https://github.com/AxioDL/metaforce.git
Set CAnimData pose cached flag
This commit is contained in:
parent
8422ffb436
commit
5979ccaf93
|
@ -183,7 +183,10 @@ zeus::CTransform CAnimData::GetLocatorTransform(CSegId id, const CCharAnimTime*
|
||||||
|
|
||||||
zeus::CTransform ret;
|
zeus::CTransform ret;
|
||||||
if (!x220_31_poseCached)
|
if (!x220_31_poseCached)
|
||||||
|
{
|
||||||
const_cast<CAnimData*>(this)->RecalcPoseBuilder(time);
|
const_cast<CAnimData*>(this)->RecalcPoseBuilder(time);
|
||||||
|
const_cast<CAnimData*>(this)->x220_31_poseCached = true;
|
||||||
|
}
|
||||||
|
|
||||||
x2fc_poseBuilder.BuildTransform(id, ret);
|
x2fc_poseBuilder.BuildTransform(id, ret);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue