match function names for clip/image spaces
[blender.git] / source / blender / editors / space_image / image_draw.c
index aaa2676c4c2f9f06b1326375607e92ada8d9d3bb..52ed7fd1d0b8b6144b88d118f710ce6a0bab5b51 100644 (file)
@@ -710,7 +710,7 @@ void draw_image_main(SpaceImage *sima, ARegion *ar, Scene *scene)
        what_image(sima);
        
        if (sima->image) {
        what_image(sima);
        
        if (sima->image) {
-               ED_image_aspect(sima->image, &xuser_asp, &yuser_asp);
+               ED_image_get_aspect(sima->image, &xuser_asp, &yuser_asp);
                
                /* UGLY hack? until now iusers worked fine... but for flipbook viewer we need this */
                if (sima->image->type == IMA_TYPE_COMPOSITE) {
                
                /* UGLY hack? until now iusers worked fine... but for flipbook viewer we need this */
                if (sima->image->type == IMA_TYPE_COMPOSITE) {
@@ -727,7 +727,7 @@ void draw_image_main(SpaceImage *sima, ARegion *ar, Scene *scene)
 
        /* retrieve the image and information about it */
        ima = ED_space_image(sima);
 
        /* retrieve the image and information about it */
        ima = ED_space_image(sima);
-       ED_space_image_zoom(sima, ar, &zoomx, &zoomy);
+       ED_space_image_get_zoom(sima, ar, &zoomx, &zoomy);
 
        show_viewer = (ima && ima->source == IMA_SRC_VIEWER);
        show_render = (show_viewer && ima->type == IMA_TYPE_R_RESULT);
 
        show_viewer = (ima && ima->source == IMA_SRC_VIEWER);
        show_render = (show_viewer && ima->type == IMA_TYPE_R_RESULT);