diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-06-30 18:47:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-30 18:47:40 +0200 |
commit | a02620f3a5f3b94c68dfbe18874b34ac1c32374a (patch) | |
tree | 6e203152459a2efff38db6a18490f38f9efc88bf /scene/animation | |
parent | 6f9767eff75c1e1db635139588994ad7ce1763b8 (diff) | |
parent | 75688772b3efadb8a36b1bb7ccde9c08819bc58e (diff) |
Merge pull request #50009 from reduz/fix-suffixes-and-degrees
Fix editor suffixes and degrees conversion
Diffstat (limited to 'scene/animation')
-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 799c81c2ab..6154eef3cf 100644 --- a/scene/animation/animation_player.cpp +++ b/scene/animation/animation_player.cpp @@ -513,7 +513,7 @@ void AnimationPlayer::_animation_process_animation(AnimationData *p_anim, float } #endif - static_cast<Node2D *>(pa->object)->set_rotation(Math::deg2rad((double)value)); + static_cast<Node2D *>(pa->object)->set_rotation((double)value); } break; case SP_NODE2D_SCALE: { #ifdef DEBUG_ENABLED |