diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-22 10:06:22 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2013-05-22 10:06:22 +0400 |
commit | 4c0e50011e77e05628be805932eb213e5bb4f209 (patch) | |
tree | 584f80df33c43be221777f42decc504a8e3fa586 /source/blender/editors/space_clip/clip_intern.h | |
parent | aa0caa448eb192b61800130b86c86794f43832e7 (diff) |
Fix #35461: Marker gets initialized to arbitrary position
Use center of currently visible frame part instead of
center of the whole frame for position of marker which
is adding from toolbox.
Used separate operator for this to keep operators more
atomic and not confuse with lots of conflicting properties.
Diffstat (limited to 'source/blender/editors/space_clip/clip_intern.h')
-rw-r--r-- | source/blender/editors/space_clip/clip_intern.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/clip_intern.h b/source/blender/editors/space_clip/clip_intern.h index e0ecdd2ba54..f1851ef25a7 100644 --- a/source/blender/editors/space_clip/clip_intern.h +++ b/source/blender/editors/space_clip/clip_intern.h @@ -145,6 +145,7 @@ struct MovieTrackingTrack *tracking_marker_check_slide(struct bContext *C, const int *area_r, int *action_r, int *corner_r); void CLIP_OT_add_marker(struct wmOperatorType *ot); +void CLIP_OT_add_marker_at_center(struct wmOperatorType *ot); void CLIP_OT_delete_track(struct wmOperatorType *ot); void CLIP_OT_delete_marker(struct wmOperatorType *ot); |