summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorPoommetee Ketson <poommetee@protonmail.com>2017-06-28 10:41:43 +0700
committerPoommetee Ketson <poommetee@protonmail.com>2017-06-28 10:41:43 +0700
commit0200507387079ab96f00e662ee738fbb299c5376 (patch)
treefad80764101e76d6d0e50558ace543f9763a7c6f /scene/resources
parentaaf6ae3f15b048017650905da85cb36780d1fce3 (diff)
Fix build error on master
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/curve.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp
index 7e30bdb634..bc6d0230a0 100644
--- a/scene/resources/curve.cpp
+++ b/scene/resources/curve.cpp
@@ -442,7 +442,7 @@ int Curve::add_point(Vector2 p_pos, real_t left_tangent, real_t right_tangent, T
}
}
- update_auto_tangents(i);
+ update_auto_tangents(ret);
mark_dirty();