Fixed curve baking, now always start at origin point

(cherry picked from commit 08b93da28a)
This commit is contained in:
Hearto Lazor 2016-04-15 00:13:17 -03:00 committed by Rémi Verschelde
parent 4bfcd14a6a
commit 5fac497aa2
1 changed files with 2 additions and 1 deletions

View File

@ -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++) {