mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-02-04 10:34:01 +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)
|
if(!bk)
|
||||||
{
|
{
|
||||||
BoneKeyframe b;
|
BoneKeyframe b;
|
||||||
b.idx = this->bones[i]->boneIdx;
|
b.idx = bone->boneIdx;
|
||||||
|
newSkeletalKeyframe.keyframes.push_back(b);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
newAnimation.keyframes.push_back(newSkeletalKeyframe);
|
newAnimation.keyframes.push_back(newSkeletalKeyframe);
|
||||||
|
|
Loading…
Add table
Reference in a new issue