diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-25 23:36:59 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-25 23:36:59 +0400 |
commit | 927af4ccc9826753c1176563b72018f31c2e9eed (patch) | |
tree | 0c93d7c96c47b3982f48b44b11deef7f2d989f45 /source/blender/editors/space_clip | |
parent | a9614e732c286b8f4799cdfd674592efa8bbdf8c (diff) |
mask transform now works in the image space
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/clip_editor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_clip/clip_editor.c b/source/blender/editors/space_clip/clip_editor.c index 9bde3a3d4d5..52f5960c559 100644 --- a/source/blender/editors/space_clip/clip_editor.c +++ b/source/blender/editors/space_clip/clip_editor.c @@ -128,11 +128,11 @@ void ED_space_clip_get_size(const bContext *C, int *width, int *height) { SpaceClip *sc = CTX_wm_space_clip(C); - if (!sc->clip) { - *width = *height = 0; + if (sc->clip) { + BKE_movieclip_get_size(sc->clip, &sc->user, width, height); } else { - BKE_movieclip_get_size(sc->clip, &sc->user, width, height); + *width = *height = IMG_SIZE_FALLBACK; } } |