summaryrefslogtreecommitdiff
path: root/scene/animation
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-30 18:47:40 +0200
committerGitHub <noreply@github.com>2021-06-30 18:47:40 +0200
commita02620f3a5f3b94c68dfbe18874b34ac1c32374a (patch)
tree6e203152459a2efff38db6a18490f38f9efc88bf /scene/animation
parent6f9767eff75c1e1db635139588994ad7ce1763b8 (diff)
parent75688772b3efadb8a36b1bb7ccde9c08819bc58e (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.cpp2
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