mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-13 15:16:28 +00:00
Added support for Echoes animation formats
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user