diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-21 12:46:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-21 12:47:17 +0400 |
commit | 43d695e82e8f39b143f56d8f93c061d58bdddfbc (patch) | |
tree | 2da94c6f765a001aaa9d7df6ed0d65dfa8f1ae68 /source/blender/editors/uvedit | |
parent | 0ff06a9ba501e7d4130e669af3457e7017710471 (diff) |
Code cleanup: view2d api naming
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r-- | source/blender/editors/uvedit/uvedit_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/uvedit/uvedit_draw.c b/source/blender/editors/uvedit/uvedit_draw.c index 7735c0b1b51..e14bb96b86d 100644 --- a/source/blender/editors/uvedit/uvedit_draw.c +++ b/source/blender/editors/uvedit/uvedit_draw.c @@ -73,7 +73,7 @@ void draw_image_cursor(ARegion *ar, const float cursor[2]) { float zoom[2], x_fac, y_fac; - UI_view2d_getscale_inverse(&ar->v2d, &zoom[0], &zoom[1]); + UI_view2d_scale_get_inverse(&ar->v2d, &zoom[0], &zoom[1]); mul_v2_fl(zoom, 256.0f * UI_DPI_FAC); x_fac = zoom[0]; |