animation keyframe channels now use animatable names

This commit is contained in:
devZoGok
2022-03-11 10:17:00 +02:00
parent a19547782b
commit fa1d0d277c
14 changed files with 32 additions and 37 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ namespace vb01{
KeyframeChannel kc;
kc.type = KeyframeChannel::Type::POS_X;
kc.keyframes = vector<Keyframe>({k1, k2});
kc.animatable = bone;
kc.animatable = bone->getName();
Animation *anim = new Animation("anim");
anim->addKeyframeChannel(kc);