AnimationTreePlayer: distinguish value tracks.
If the node had a 3D Transform, the transform would always get written, even if the tracks on that node were supposed to be value tracks.
This commit is contained in:
parent
f7fad32188
commit
2fa200ff53
|
@ -861,8 +861,9 @@ void AnimationTreePlayer::_process_animation(float p_delta) {
|
|||
|
||||
if (!t.node)
|
||||
continue;
|
||||
//if (E->get()->t.type!=Animation::TYPE_TRANSFORM)
|
||||
// continue;
|
||||
|
||||
if(t.property) // value track; was applied in step 2
|
||||
continue;
|
||||
|
||||
Transform xform;
|
||||
xform.basis=t.rot;
|
||||
|
|
Loading…
Reference in New Issue