From 0200507387079ab96f00e662ee738fbb299c5376 Mon Sep 17 00:00:00 2001 From: Poommetee Ketson Date: Wed, 28 Jun 2017 10:41:43 +0700 Subject: [PATCH] Fix build error on master --- scene/resources/curve.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp index 7e30bdb634a..bc6d0230a06 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();