aboutsummaryrefslogtreecommitdiff
path: root/scene/animation/animation_player.cpp
diff options
context:
space:
mode:
authorkarroffel2018-04-03 16:40:53 +0200
committerkarroffel2018-04-03 16:43:50 +0200
commit4303fbca5ab3e46b99834a810fa27fd7176f6213 (patch)
tree641e83044b186f872d9bd4e74574f67627bc3671 /scene/animation/animation_player.cpp
parent9ad180029876a53747df577d8925a055f6b9687e (diff)
downloadgodot-4303fbca5ab3e46b99834a810fa27fd7176f6213.tar.gz
godot-4303fbca5ab3e46b99834a810fa27fd7176f6213.tar.zst
godot-4303fbca5ab3e46b99834a810fa27fd7176f6213.zip
Diffstat (limited to 'scene/animation/animation_player.cpp')
-rw-r--r--scene/animation/animation_player.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/animation/animation_player.cpp b/scene/animation/animation_player.cpp
index 04e7d5cc1..2cf488ade 100644
--- a/scene/animation/animation_player.cpp
+++ b/scene/animation/animation_player.cpp
@@ -590,8 +590,8 @@ void AnimationPlayer::_animation_update_transforms() {
Transform t;
t.origin = nc->loc_accum;
- t.basis = nc->rot_accum;
t.basis.scale(nc->scale_accum);
+ t.basis.rotate(nc->rot_accum.get_euler());
if (nc->skeleton && nc->bone_idx >= 0) {