diff options
| author | karroffel | 2018-04-03 16:40:53 +0200 |
|---|---|---|
| committer | karroffel | 2018-04-03 16:43:50 +0200 |
| commit | 4303fbca5ab3e46b99834a810fa27fd7176f6213 (patch) | |
| tree | 641e83044b186f872d9bd4e74574f67627bc3671 /scene/animation/animation_player.cpp | |
| parent | 9ad180029876a53747df577d8925a055f6b9687e (diff) | |
| download | godot-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.cpp | 2 |
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) { |
