Revert "3D Text: avoid checking null character's text on path"

This reverts commit 8a379e3460.

Caused T58284
This commit is contained in:
Campbell Barton 2019-01-29 22:50:55 +11:00
parent e63869ca80
commit e37b9b5d0d
1 changed files with 2 additions and 3 deletions

View File

@ -1130,7 +1130,7 @@ makebreak:
timeofs += distfac * cu->xof; /* not cyclic */
ct = chartransdata;
for (i = 0; i < slen; i++, ct++) {
for (i = 0; i <= slen; i++, ct++) {
float ctime, dtime, vec[4], tvec[4], rotvec[3];
float si, co;
@ -1172,9 +1172,8 @@ makebreak:
sb = &selboxes[i - selstart];
sb->rot = -ct->rot;
}
}
/* null character is always zero width, no need to iterate over it */
chartransdata[slen] = chartransdata[slen - 1];
}
}