diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-27 15:09:06 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-12-27 15:09:06 +0400 |
commit | 6963e431481b16b42fa4f545c29bb1a35e61f6e2 (patch) | |
tree | 101967f325f40b9150b67e4e8cba94ddb2afaf16 /source/blender/editors/space_clip/tracking_ops.c | |
parent | 0ac3ab752ff81dbb34469e4c18c446a1c835f83c (diff) |
More fixes for timecode usage with BKE_movieclip_get_ibuf_flag
Diffstat (limited to 'source/blender/editors/space_clip/tracking_ops.c')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index 8a11c881527..d911e68236b 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -2406,7 +2406,8 @@ static int detect_features_exec(bContext *C, wmOperator *op) { SpaceClip *sc= CTX_wm_space_clip(C); MovieClip *clip= ED_space_clip(sc); - ImBuf *ibuf= BKE_movieclip_get_ibuf_flag(clip, &sc->user, 0); + int clip_flag= clip->flag&MCLIP_TIMECODE_FLAGS; + ImBuf *ibuf= BKE_movieclip_get_ibuf_flag(clip, &sc->user, clip_flag); MovieTrackingTrack *track= clip->tracking.tracks.first; int placement= RNA_enum_get(op->ptr, "placement"); int margin= RNA_int_get(op->ptr, "margin"); |