aboutsummaryrefslogtreecommitdiff
path: root/scene/resources/animation.cpp
diff options
context:
space:
mode:
authorFerenc Arn2017-04-05 17:47:13 -0500
committerFerenc Arn2017-04-06 13:03:56 -0500
commit9a37ff1e34fe445a9168a7d91ae1df7d9928eb25 (patch)
treef524cd3d1fd4c31e7e1fe868eea45d3d3086c2f6 /scene/resources/animation.cpp
parent454f53c77659721a529c48fd4be6bf80d33c0082 (diff)
downloadgodot-9a37ff1e34fe445a9168a7d91ae1df7d9928eb25.tar.gz
godot-9a37ff1e34fe445a9168a7d91ae1df7d9928eb25.tar.zst
godot-9a37ff1e34fe445a9168a7d91ae1df7d9928eb25.zip
Diffstat (limited to 'scene/resources/animation.cpp')
-rw-r--r--scene/resources/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/animation.cpp b/scene/resources/animation.cpp
index 4fddd55e2..258452117 100644
--- a/scene/resources/animation.cpp
+++ b/scene/resources/animation.cpp
@@ -1760,8 +1760,8 @@ bool Animation::_transform_track_optimize_key(const TKey<TransformKey> &t0, cons
Vector3 v02, v01;
real_t a02, a01;
- r02.get_axis_and_angle(v02, a02);
- r01.get_axis_and_angle(v01, a01);
+ r02.get_axis_angle(v02, a02);
+ r01.get_axis_angle(v01, a01);
if (Math::abs(a02) > p_max_optimizable_angle)
return false;