Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2019-07-08 15:48:24 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-07-08 15:48:42 +0300
commit8066784ac232e4c527a77d9cc7b7328e8407e21b (patch)
tree427fdcb6261c2c28c14904c2d54535e64e06a462 /source
parent27adc4aa33477b41eb12b99fed21f64198bf6be8 (diff)
Fix T66499: Parenting a Mask to Plane Track doesnt work
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_clip/tracking_ops_plane.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_clip/tracking_ops_plane.c b/source/blender/editors/space_clip/tracking_ops_plane.c
index 89478375658..b1bf88634bc 100644
--- a/source/blender/editors/space_clip/tracking_ops_plane.c
+++ b/source/blender/editors/space_clip/tracking_ops_plane.c
@@ -74,6 +74,7 @@ static int create_plane_track_tracks_exec(bContext *C, wmOperator *op)
BKE_tracking_track_plane_from_existing_motion(plane_track, framenr);
}
+ DEG_id_tag_update(&clip->id, ID_RECALC_COPY_ON_WRITE);
WM_event_add_notifier(C, NC_MOVIECLIP | NA_EDITED, clip);
return OPERATOR_FINISHED;
@@ -337,8 +338,7 @@ static int slide_plane_marker_modal(bContext *C, wmOperator *op, const wmEvent *
data->previous_mval[1] = event->mval[1];
copy_v2_v2(data->previous_corner, data->corner);
- DEG_id_tag_update(&sc->clip->id, 0);
-
+ DEG_id_tag_update(&clip->id, ID_RECALC_COPY_ON_WRITE);
WM_event_add_notifier(C, NC_MOVIECLIP | NA_EDITED, NULL);
break;
@@ -355,7 +355,7 @@ static int slide_plane_marker_modal(bContext *C, wmOperator *op, const wmEvent *
clip_tracking_show_cursor(C);
- DEG_id_tag_update(&sc->clip->id, 0);
+ DEG_id_tag_update(&clip->id, ID_RECALC_COPY_ON_WRITE);
WM_event_add_notifier(C, NC_MOVIECLIP | NA_EDITED, clip);
return OPERATOR_FINISHED;