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/mask/mask_edit.c | |
parent | 0ff06a9ba501e7d4130e669af3457e7017710471 (diff) |
Code cleanup: view2d api naming
Diffstat (limited to 'source/blender/editors/mask/mask_edit.c')
-rw-r--r-- | source/blender/editors/mask/mask_edit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mask/mask_edit.c b/source/blender/editors/mask/mask_edit.c index d94a1906a84..1acdff8b824 100644 --- a/source/blender/editors/mask/mask_edit.c +++ b/source/blender/editors/mask/mask_edit.c @@ -326,7 +326,7 @@ void ED_mask_pixelspace_factor(ScrArea *sa, ARegion *ar, float *scalex, float *s SpaceClip *sc = sa->spacedata.first; float aspx, aspy; - UI_view2d_getscale(&ar->v2d, scalex, scaley); + UI_view2d_scale_get(&ar->v2d, scalex, scaley); ED_space_clip_get_aspect(sc, &aspx, &aspy); *scalex *= aspx; @@ -343,7 +343,7 @@ void ED_mask_pixelspace_factor(ScrArea *sa, ARegion *ar, float *scalex, float *s SpaceImage *sima = sa->spacedata.first; float aspx, aspy; - UI_view2d_getscale(&ar->v2d, scalex, scaley); + UI_view2d_scale_get(&ar->v2d, scalex, scaley); ED_space_image_get_aspect(sima, &aspx, &aspy); *scalex *= aspx; |