Add missing NULL assignment to D8293

Missed reseting "next_td" in that patch.
Shouldn't have caused any issues in practice, but it is nice to be
extra clear and safe in the code.
This commit is contained in:
Sebastian Parborg 2020-07-15 12:36:48 +02:00
parent 50c6448781
commit 7e2ffbfb25
1 changed files with 2 additions and 0 deletions

View File

@ -449,6 +449,8 @@ void calc_distanceCurveVerts(TransData *head, TransData *tail, bool cyclic)
}
}
next_td = NULL;
if (td - 1 >= head) {
next_td = td - 1;
}