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:
@@ -449,6 +449,8 @@ void calc_distanceCurveVerts(TransData *head, TransData *tail, bool cyclic)
|
||||
}
|
||||
}
|
||||
|
||||
next_td = NULL;
|
||||
|
||||
if (td - 1 >= head) {
|
||||
next_td = td - 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user