2
0
Fork 0

Fixed curve baking, now always start at origin point

2.1
Hearto Lazor 2016-04-15 00:13:17 +07:00
parent c0576c64da
commit 08b93da28a
1 changed files with 2 additions and 1 deletions

@ -543,7 +543,8 @@ 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++) {
float step = 0.1; // at least 10 substeps ought to be enough?