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:
parent
50c6448781
commit
7e2ffbfb25
|
@ -449,6 +449,8 @@ void calc_distanceCurveVerts(TransData *head, TransData *tail, bool cyclic)
|
|||
}
|
||||
}
|
||||
|
||||
next_td = NULL;
|
||||
|
||||
if (td - 1 >= head) {
|
||||
next_td = td - 1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue