3D Text: avoid checking null character's text on path
Redundant and causes complications when improving text code.
This commit is contained in:
parent
42e6477129
commit
8a379e3460
Notes:
blender-bot
2023-02-14 04:53:04 +01:00
Referenced by commite37b9b5d0d
, Revert "3D Text: avoid checking null character's text on path" Referenced by commit964a3f1097
, Revert "3D Text: avoid checking null character's text on path" Referenced by issue #58284, Cursor position wrong when edit text on curve
|
@ -1040,7 +1040,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;
|
||||
|
||||
|
@ -1082,8 +1082,9 @@ 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];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue