From 1a36c3bb92f1ef82e8cca4cb09ac32d98bf53a17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Fri, 6 May 2016 23:38:08 +0200 Subject: [PATCH] Rotation APIs: Better exposure for degrees methods Made public the various set/getters for rotations in degrees. For consistency, renamed the exposed method names to remove the leading underscore, and kept the old names with a deprecation warning. Fixes #4511. --- misc/tween/main.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/tween/main.gd b/misc/tween/main.gd index 51227131..b899825d 100644 --- a/misc/tween/main.gd +++ b/misc/tween/main.gd @@ -108,7 +108,7 @@ func reset_tween(): sprite.set_scale(Vector2(1,1)) if get_node("modes/rotate").is_pressed(): - tween.interpolate_method(sprite, "_set_rotd", 0, 360, 2, state.trans, state.eases) + tween.interpolate_method(sprite, "set_rotd", 0, 360, 2, state.trans, state.eases) tween.interpolate_property(sprite, "transform/rot", 360, 0, 2, state.trans, state.eases, 2) if get_node("modes/callback").is_pressed():