mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-01-26 02:07:26 +00:00
fix anim editor not generating keyframes for newly inserted bones.
broke this during my recent anim editor work, oops
This commit is contained in:
parent
288fb6b7fa
commit
96f28702e4
1 changed files with 2 additions and 1 deletions
|
@ -1822,7 +1822,8 @@ void SkeletalSprite::loadSkeletal(const std::string &fn)
|
|||
if(!bk)
|
||||
{
|
||||
BoneKeyframe b;
|
||||
b.idx = this->bones[i]->boneIdx;
|
||||
b.idx = bone->boneIdx;
|
||||
newSkeletalKeyframe.keyframes.push_back(b);
|
||||
}
|
||||
}
|
||||
newAnimation.keyframes.push_back(newSkeletalKeyframe);
|
||||
|
|
Loading…
Reference in a new issue