Fix crash with font on curve

Was a mistake from recent texspace changes.

Reported by Pablo here in the studio!
This commit is contained in:
2018-02-09 10:13:42 +01:00
parent 8f9386596f
commit 07ccb8b97c

View File

@@ -1081,7 +1081,12 @@ makebreak:
float minx, maxx, miny, maxy; float minx, maxx, miny, maxy;
float timeofs, sizefac; float timeofs, sizefac;
if (ob != NULL) {
invert_m4_m4(imat, ob->obmat); invert_m4_m4(imat, ob->obmat);
}
else {
unit_m4(imat);
}
copy_m3_m4(imat3, imat); copy_m3_m4(imat3, imat);
copy_m3_m4(cmat, cu->textoncurve->obmat); copy_m3_m4(cmat, cu->textoncurve->obmat);