1
0
Fork 0
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:
fgenesis 2022-11-13 12:29:11 +01:00
parent 288fb6b7fa
commit 96f28702e4

View file

@ -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);