diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-12 15:02:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-06-12 15:02:57 +0300 |
commit | d7df962e0411a94d37bb1b33ee5fdc8359fb8baf (patch) | |
tree | 3062b3fe20eb83fb5a8ccda33b88cc4222d1a832 /source/blender/editors/space_clip | |
parent | 524943fca3db7180f2afac704e0ac4b6d5bd6755 (diff) |
Fix T65751: Mask Parenting does not work
Diffstat (limited to 'source/blender/editors/space_clip')
-rw-r--r-- | source/blender/editors/space_clip/tracking_ops_track.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |