diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2021-08-25 23:30:00 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2021-08-25 23:30:00 +0300 |
commit | 5b751c95f4e58c5f56b1af61c835b4537f19f43c (patch) | |
tree | 139e884c0d42c20af4394c893a3e8d5904371e9b /source/blender/editors/transform/transform.c | |
parent | 518b97e674a9e7cdc91bc4048a89eb8a8b37db0b (diff) |
BLF: Remove ASCII-only Code Paths
Remove redundant code for drawing text strings that contain only ASCII.
See D12293 for much more detail.
Differential Revision: https://developer.blender.org/D12293
Reviewed by Campbell Barton
Diffstat (limited to 'source/blender/editors/transform/transform.c')
-rw-r--r-- | source/blender/editors/transform/transform.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 7a83fb71c28..7287927a0be 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -1372,11 +1372,7 @@ static void drawAutoKeyWarning(TransInfo *UNUSED(t), ARegion *region) uchar color[3]; UI_GetThemeColorShade3ubv(TH_TEXT_HI, -50, color); BLF_color3ubv(font_id, color); -#ifdef WITH_INTERNATIONAL BLF_draw_default(xco, yco, 0.0f, printable, BLF_DRAW_STR_DUMMY_MAX); -#else - BLF_draw_default_ascii(xco, yco, 0.0f, printable, BLF_DRAW_STR_DUMMY_MAX); -#endif /* autokey recording icon... */ GPU_blend(GPU_BLEND_ALPHA); |