[Bf-blender-cvs] [8389cc7e674] master: Fix T65023: Tracking marker color is not updated when using Copy Color

Sergey Sharybin noreply at git.blender.org
Thu May 23 10:03:36 CEST 2019


Commit: 8389cc7e674bd54102a0244fa625ff4d49b678bf
Author: Sergey Sharybin
Date:   Thu May 23 10:02:37 2019 +0200
Branches: master
https://developer.blender.org/rB8389cc7e674bd54102a0244fa625ff4d49b678bf

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).

===================================================================

M	source/blender/editors/space_clip/tracking_ops.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list