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();