From 663a82b10d23a8fd8468fec314b2d5ba740542e4 Mon Sep 17 00:00:00 2001 From: Philipp Oeser Date: Fri, 26 Mar 2021 10:42:12 +0100 Subject: [PATCH] Fix T86932: Curve: pick shortest path missing update of active point drawing For curves, we need to tag the curve ID_RECALC_COPY_ON_WRITE for batch cache update (same as in {rB24b2fe50f3ec}). Maniphest Tasks: T86932 Differential Revision: https://developer.blender.org/D10826 --- source/blender/editors/curve/editcurve_select.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/curve/editcurve_select.c b/source/blender/editors/curve/editcurve_select.c index e3fc8b73172..90cefef38ee 100644 --- a/source/blender/editors/curve/editcurve_select.c +++ b/source/blender/editors/curve/editcurve_select.c @@ -1990,7 +1990,7 @@ static int edcu_shortest_path_pick_invoke(bContext *C, wmOperator *op, const wmE ED_object_base_activate(C, basact); } - DEG_id_tag_update(obedit->data, ID_RECALC_SELECT); + DEG_id_tag_update(obedit->data, ID_RECALC_SELECT | ID_RECALC_COPY_ON_WRITE); WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit->data); return OPERATOR_FINISHED; }