Blender Git Loki

Git Commits -> Revision ccaab72

Revision ccaab72 by Campbell Barton (master)
May 3, 2020, 08:01 (GMT)
BLF: use 'int' for internal glyph x,y bearing

These were stored as float but were originally cast from an int
and were often cast back to int.

Also use int pairs for dimensions values.

Commit Details:

Full Hash: ccaab7268572f1640411309463009b3a3453b247
Parent Commit: 5366eb8
Lines Changed: +61, -84

9 Modified Paths:

/source/blender/blenfont/BLF_api.h (+1, -1) (Diff)
/source/blender/blenfont/intern/blf.c (+2, -2) (Diff)
/source/blender/blenfont/intern/blf_font.c (+20, -20) (Diff)
/source/blender/blenfont/intern/blf_glyph.c (+26, -47) (Diff)
/source/blender/blenfont/intern/blf_internal.h (+1, -1) (Diff)
/source/blender/blenfont/intern/blf_internal_types.h (+7, -9) (Diff)
/source/blender/blenfont/intern/blf_thumbs.c (+2, -2) (Diff)
/source/blender/editors/interface/interface_handlers.c (+1, -1) (Diff)
/source/blender/editors/interface/interface_widgets.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