Merge pull request #4324 from HeartoLazor/path_2d_fix
Fixed curve baking, now always start at origin point
This commit is contained in:
commit
880f4abda4
|
@ -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++) {
|
||||
|
||||
|
|
Loading…
Reference in New Issue