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 20:30:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-25 20:30:53 +0400
commit7fba5779ede5d96fa6a9db0d7d529022be692d09 (patch)
tree45b75496b14941aaf75facdd72ce77d9a6ad7a5c /source/blender/makesrna/intern/rna_space.c
parentf83ea3fa85ed79f85bdf5eda9a35b886a2d9159c (diff)
match function names for clip/image spaces
Diffstat (limited to 'source/blender/makesrna/intern/rna_space.c')
-rw-r--r--source/blender/makesrna/intern/rna_space.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_space.c b/source/blender/makesrna/intern/rna_space.c
index acfd413fdde..96f26eb637d 100644
--- a/source/blender/makesrna/intern/rna_space.c
+++ b/source/blender/makesrna/intern/rna_space.c
@@ -620,7 +620,7 @@ static void rna_SpaceImageEditor_zoom_get(PointerRNA *ptr, float *values)
sa = rna_area_from_space(ptr); /* can be NULL */
ar = BKE_area_find_region_type(sa, RGN_TYPE_WINDOW);
if (ar) {
- ED_space_image_zoom(sima, ar, &values[0], &values[1]);
+ ED_space_image_get_zoom(sima, ar, &values[0], &values[1]);
}
}
@@ -633,7 +633,7 @@ static void rna_SpaceImageEditor_cursor_location_get(PointerRNA *ptr, float *val
}
else {
int w, h;
- ED_space_image_size(sima, &w, &h);
+ ED_space_image_get_size(sima, &w, &h);
values[0] = sima->cursor[0] * w;
values[1] = sima->cursor[1] * h;
@@ -649,7 +649,7 @@ static void rna_SpaceImageEditor_cursor_location_set(PointerRNA *ptr, const floa
}
else {
int w, h;
- ED_space_image_size(sima, &w, &h);
+ ED_space_image_get_size(sima, &w, &h);
sima->cursor[0] = values[0] / w;
sima->cursor[1] = values[1] / h;