diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2016-02-29 17:20:09 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2016-02-29 17:20:09 +0300 |
commit | 49ba9740b8ed55eca742a43b36a47d6b55cb207d (patch) | |
tree | dc1f03a75e0b5ebff050e8d64340971e96834ac1 /source/blender/editors/interface/view2d.c | |
parent | 94349ab308d2c534b51d370a6c62fd1992c6d1e2 (diff) |
Cleanup: Duplicated function
wmOrtho2_region_pixelspace and wmOrtho2_region_ui were doing exact same thing since rBSa86482f81cf3.
Diffstat (limited to 'source/blender/editors/interface/view2d.c')
-rw-r--r-- | source/blender/editors/interface/view2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index ef001f42a3b..c78d97ef86f 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -2394,7 +2394,7 @@ void UI_view2d_text_cache_draw(ARegion *ar) /* investigate using BLF_ascender() */ const float default_height = g_v2d_strings ? BLF_height_default("28", 3) : 0.0f; - wmOrtho2_region_ui(ar); + wmOrtho2_region_pixelspace(ar); for (v2s = g_v2d_strings; v2s; v2s = v2s->next) { int xofs = 0, yofs; |