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:
authorCampbell Barton <ideasman42@gmail.com>2012-07-25 23:36:59 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-25 23:36:59 +0400
commit927af4ccc9826753c1176563b72018f31c2e9eed (patch)
tree0c93d7c96c47b3982f48b44b11deef7f2d989f45 /source/blender/editors/mask
parenta9614e732c286b8f4799cdfd674592efa8bbdf8c (diff)
mask transform now works in the image space
Diffstat (limited to 'source/blender/editors/mask')
-rw-r--r--source/blender/editors/mask/mask_edit.c4
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 3af61b366b2..6667b9b69a5 100644
--- a/source/blender/editors/mask/mask_edit.c
+++ b/source/blender/editors/mask/mask_edit.c
@@ -263,7 +263,7 @@ void ED_mask_aspect(const bContext *C, float *aspx, float *aspy)
case SPACE_IMAGE:
{
SpaceImage *sima = sa->spacedata.first;
- ED_space_image_get_uv_aspect(sima, aspx, aspy);
+ ED_space_image_get_aspect(sima, aspx, aspy);
break;
}
default:
@@ -312,7 +312,7 @@ void ED_mask_pixelspace_factor(const bContext *C, float *scalex, float *scaley)
ED_space_image_get_size(sima, &width, &height);
ED_space_image_get_zoom(sima, ar, &zoomx, &zoomy);
- ED_space_image_get_uv_aspect(sima, &aspx, &aspy);
+ ED_space_image_get_aspect(sima, &aspx, &aspy);
*scalex = ((float)width * aspx) * zoomx;
*scaley = ((float)height * aspy) * zoomy;