Added support for Echoes animation formats

This commit is contained in:
parax0
2016-04-28 05:10:49 -06:00
parent 769662b51d
commit 82f037c69e
8 changed files with 269 additions and 78 deletions

View File

@@ -124,8 +124,9 @@ void CCharacterNode::SetActiveChar(u32 CharIndex)
if (mpCharacter)
{
CModel *pModel = mpCharacter->NodeModel(CharIndex);
mTransformData.ResizeToSkeleton(mpCharacter->NodeSkeleton(CharIndex));
mLocalAABox = mpCharacter->NodeModel(CharIndex)->AABox();
mLocalAABox = pModel ? pModel->AABox() : CAABox::skZero;
MarkTransformChanged();
}
}