diff options
Diffstat (limited to 'scene/resources/curve.cpp')
-rw-r--r-- | scene/resources/curve.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/curve.cpp b/scene/resources/curve.cpp index 7dec4029fc..88ff09e961 100644 --- a/scene/resources/curve.cpp +++ b/scene/resources/curve.cpp @@ -543,6 +543,7 @@ void Curve2D::_bake() const { Vector2 pos=points[0].pos; List<Vector2> pointlist; + pointlist.push_back(pos); //start always from origin for(int i=0;i<points.size()-1;i++) { |