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-26 15:47:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-07-26 15:47:47 +0400
commitf39a21c36f63f2dac4dc530f6ea3d98efc75fd9d (patch)
tree82a08421488ab985c5d9c08ff5ad0343ee55d598 /source/blender/editors/uvedit
parentfec872ef9c0bb6904cbe9a7b59b3f51ae7bb0702 (diff)
add ED_space_image_get_size_fl, ED_space_clip_get_size_fl
Diffstat (limited to 'source/blender/editors/uvedit')
-rw-r--r--source/blender/editors/uvedit/uvedit_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c
index eea316920d3..0e129cb4dcb 100644
--- a/source/blender/editors/uvedit/uvedit_ops.c
+++ b/source/blender/editors/uvedit/uvedit_ops.c
@@ -295,8 +295,8 @@ static void uvedit_pixel_to_float(SpaceImage *sima, float *dist, float pixeldist
ED_space_image_get_size(sima, &width, &height);
}
else {
- width = 256;
- height = 256;
+ width = IMG_SIZE_FALLBACK;
+ height = IMG_SIZE_FALLBACK;
}
dist[0] = pixeldist / width;