diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-23 11:02:37 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-05-23 11:02:37 +0300 |
commit | 8389cc7e674bd54102a0244fa625ff4d49b678bf (patch) | |
tree | 4aaf3989a4337cfc8e0dce069c0982665951563f /source/blender/editors/space_clip/tracking_ops.c | |
parent | fec9615ea06c94b5224c14479c31c55c567fb7ee (diff) |
Fix T65023: Tracking marker color is not updated when using Copy Color
Missing dependency graph update.
Ideally need to introduce more clear ID_RECALC flag, and maybe go over all
of the operators (some of them might not use dependency graph still).
Diffstat (limited to 'source/blender/editors/space_clip/tracking_ops.c')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops.c b/source/blender/editors/space_clip/tracking_ops.c index b51baafbcf5..663270ef550 100644 --- a/source/blender/editors/space_clip/tracking_ops.c +++ b/source/blender/editors/space_clip/tracking_ops.c @@ -1625,6 +1625,7 @@ static int track_copy_color_exec(bContext *C, wmOperator *UNUSED(op)) } } + DEG_id_tag_update(&clip->id, 0); WM_event_add_notifier(C, NC_MOVIECLIP | ND_DISPLAY, clip); return OPERATOR_FINISHED; @@ -1806,6 +1807,7 @@ static int clean_tracks_exec(bContext *C, wmOperator *op) } } + DEG_id_tag_update(&clip->id, 0); BKE_tracking_dopesheet_tag_update(tracking); WM_event_add_notifier(C, NC_MOVIECLIP | ND_SELECT, clip); |