Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-10-03 17:22:10 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-10-03 17:24:35 +0300
commit9c09998530041744a183dfae3da435806272623b (patch)
tree9a6b45fd48adc2ac8ad47c1035ec228354e3c6c5 /source/blender/draw/intern/draw_view.c
parentfb60fb055d680a037a7808aeb3304c34ff0c06f7 (diff)
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.
Diffstat (limited to 'source/blender/draw/intern/draw_view.c')
0 files changed, 0 insertions, 0 deletions