Blender Git Loki
Git Commits -> Revision dc4dede
Revision dc4dede by Campbell Barton (master) August 6, 2011, 06:38 (GMT) |
for UI text drawing use BLF_ascender(fs->uifont_id) rather then BLF_height(fs->uifont_id, "2"), while profiling draw noticed that the hash lookup on the character and utf8 next were being called on every text draw, use BLF_ascender since it doesn't do any lookups. |
Commit Details:
Full Hash: dc4dede8029801580683551b39f967c206720736
SVN Revision: 39094
Parent Commit: d78be1f
Lines Changed: +5, -5
1 Modified Path:
/source/blender/editors/interface/interface_style.c (+5, -5) (Diff)