diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp index 7dec4029fc4..516156c3150 100644 --- a/scene/resources/curve.cpp +++ b/scene/resources/curve.cpp @@ -543,7 +543,8 @@ void Curve2D::_bake() const { Vector2 pos=points[0].pos; List pointlist; - + pointlist.push_back(pos); //start always from origin + for(int i=0;i