match function names for clip/image spaces
[blender.git] / source / blender / editors / uvedit / uvedit_buttons.c
index ec645f86848b6944f0bb08b353425b180f32afed..fa39a52444beeee681a49f046e6ac9ec6917c48d 100644 (file)
@@ -125,7 +125,7 @@ static void uvedit_vertex_buttons(const bContext *C, uiBlock *block)
        float center[2];
        int imx, imy, step, digits;
 
-       ED_space_image_size(sima, &imx, &imy);
+       ED_space_image_get_size(sima, &imx, &imy);
        
        em = BMEdit_FromObject(obedit);
 
@@ -168,7 +168,7 @@ static void do_uvedit_vertex(bContext *C, void *UNUSED(arg), int event)
 
        em = BMEdit_FromObject(obedit);
 
-       ED_space_image_size(sima, &imx, &imy);
+       ED_space_image_get_size(sima, &imx, &imy);
        uvedit_center(scene, em, ima, center);
 
        if (sima->flag & SI_COORDFLOATS) {