mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-16 16:37:02 +00:00
Added support for loading meta-animations and meta-transitions (yay! animation exclusion doesn't crash anymore!)
This commit is contained in:
@@ -679,8 +679,7 @@ CSkeleton* CScriptNode::ActiveSkeleton() const
|
||||
CAnimation* CScriptNode::ActiveAnimation() const
|
||||
{
|
||||
CAnimSet *pSet = ActiveAnimSet();
|
||||
if (pSet) return pSet->Animation(mAnimIndex)->pAnim;
|
||||
else return nullptr;
|
||||
return pSet ? pSet->FindAnimationAsset(mAnimIndex) : nullptr;
|
||||
}
|
||||
|
||||
CTexture* CScriptNode::ActiveBillboard() const
|
||||
|
||||
Reference in New Issue
Block a user