summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsanikoyes <sanikoyes@163.com>2017-02-07 15:45:49 +0800
committersanikoyes <sanikoyes@163.com>2017-02-07 15:45:49 +0800
commit9123e916346ee1b08adebdb9933884519669d8b5 (patch)
tree4e785fa050a9a1759bdb67a52de7725186738d2d
parent6bfaa0f12c65947ab0f124ec4c75345bd1332b77 (diff)
Fix tween Transform2D typo
-rw-r--r--scene/animation/tween.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/animation/tween.cpp b/scene/animation/tween.cpp
index 0916119db3..bd126beef4 100644
--- a/scene/animation/tween.cpp
+++ b/scene/animation/tween.cpp
@@ -405,9 +405,9 @@ Variant Tween::_run_equation(InterpolateData& p_data) {
case Variant::TRANSFORM2D:
{
- Basis i = initial_val;
- Basis d = delta_val;
- Basis r;
+ Transform2D i = initial_val;
+ Transform2D d = delta_val;
+ Transform2D r;
APPLY_EQUATION(elements[0][0]);
APPLY_EQUATION(elements[0][1]);