Blender Git Loki

Git Commits -> Revision 7e85256

Revision 7e85256 by Sergey Sharybin (master)
December 19, 2017, 14:55 (GMT)
Font objects: Support proper auto-space

Annoyingly, need to convert vfont to nurbs, do minmax and toss nurbs away.
This is likely to be fine, since this function is not intended to be used
a lot, and this is the only way to get more meaningful result.

However, it's not very clear what to do with font on curve.

This fixes rendering of font object with auto texture space in Cycles
introduced in c34f3c7.

It is probably possible to introduce new mode to vfont_to_curve which
will do boundbox without extra allocations, but that's more like an
optimization.

Reviewers: campbellbarton, mano-wii

Reviewed By: campbellbarton

Subscribers: zeauro

Differential Revision: https://developer.blender.org/D2971

Commit Details:

Full Hash: 7e8525663c71aa350c00b17b6150e40134c3e467
Parent Commit: ab1af38
Lines Changed: +28, -14

4 Modified Paths:

/source/blender/blenkernel/BKE_font.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/curve.c (+20, -5) (Diff)
/source/blender/blenkernel/intern/font.c (+6, -7) (Diff)
/source/blender/blenkernel/intern/object_dupli.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021