Blender Git Commit Log

Git Commits -> Revision a780e7f

Revision a780e7f by Campbell Barton (master)
January 16, 2014, 16:13 (GMT)
BLF: Fix for changing the DPI storing many fonts (300+)

Each dpi value stores its own set of font sizes, so while dragging the
dpi value would collect many sizes and never free.

Also change how BLF_cache_clear works,
it was freeing memory but not the OpenGL textures.

Now just free all the cache and GL textures and let drawing allocate them again as needed.

Commit Details:

Full Hash: a780e7f3f09ffec99600a518a17b219b5aaee2c6
Parent Commit: de28a4d
Lines Changed: +5, -10

2 Modified Paths:

/source/blender/blenfont/intern/blf_glyph.c (+2, -10) (Diff)
/source/blender/makesrna/intern/rna_userdef.c (+3, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021