[Bf-blender-cvs] [d7df962e041] master: Fix T65751: Mask Parenting does not work

Sergey Sharybin noreply at git.blender.org
Wed Jun 12 14:03:11 CEST 2019


Commit: d7df962e0411a94d37bb1b33ee5fdc8359fb8baf
Author: Sergey Sharybin
Date:   Wed Jun 12 14:02:57 2019 +0200
Branches: master
https://developer.blender.org/rBd7df962e0411a94d37bb1b33ee5fdc8359fb8baf

Fix T65751: Mask Parenting does not work

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

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

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

diff --git a/source/blender/editors/space_clip/tracking_ops_track.c b/source/blender/editors/space_clip/tracking_ops_track.c
index e7880331331..e9a685f9e21 100644
--- a/source/blender/editors/space_clip/tracking_ops_track.c
+++ b/source/blender/editors/space_clip/tracking_ops_track.c
@@ -44,6 +44,8 @@
 
 #include "PIL_time.h"
 
+#include "DEG_depsgraph.h"
+
 #include "clip_intern.h"  // own include
 #include "tracking_ops_intern.h"
 
@@ -271,6 +273,7 @@ static void track_markers_endjob(void *tmv)
   BKE_autotrack_context_sync(tmj->context);
   BKE_autotrack_context_finish(tmj->context);
 
+  DEG_id_tag_update(&tmj->clip->id, ID_RECALC_COPY_ON_WRITE);
   WM_main_add_notifier(NC_SCENE | ND_FRAME, tmj->scene);
 }
 
@@ -426,6 +429,7 @@ static int refine_marker_exec(bContext *C, wmOperator *op)
     }
   }
 
+  DEG_id_tag_update(&clip->id, ID_RECALC_COPY_ON_WRITE);
   WM_event_add_notifier(C, NC_MOVIECLIP | NA_EVALUATED, clip);
 
   return OPERATOR_FINISHED;



More information about the Bf-blender-cvs mailing list