summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2017-06-28 01:11:50 -0300
committerGitHub <noreply@github.com>2017-06-28 01:11:50 -0300
commit9c0aa7f6ff749f86ac19b83d2e843c813211f929 (patch)
treefad80764101e76d6d0e50558ace543f9763a7c6f
parentaaf6ae3f15b048017650905da85cb36780d1fce3 (diff)
parent0200507387079ab96f00e662ee738fbb299c5376 (diff)
Merge pull request #9428 from Noshyaar/master
Fix build error on master, commit aaf6ae3
-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();