Blender Git Loki
Git Commits -> Revision 9c09998
Revision 9c09998 by Bastien Montagne (master) October 3, 2018, 14:24 (GMT) |
UI strings: Fix asserts in 'middle-splitting' fitting string code. The problem is that string width computing is performed in integers (pixels), which can generate a rather annoying error (a few pixels)... Simply work around that for now, by trimming an extra middle char when needed. |
Commit Details:
Full Hash: 9c09998530041744a183dfae3da435806272623b
Parent Commit: fb60fb0
Lines Changed: +10, -0
1 Modified Path:
/source/blender/editors/interface/interface_widgets.c (+10, -0) (Diff)