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
This commit is contained in:
Philipp Oeser 2021-03-26 10:42:12 +01:00
parent e71408d0d7
commit 663a82b10d
Notes: blender-bot 2023-02-13 19:08:25 +01:00
Referenced by issue #86932, Regression: Curve edit mode, late visual update of active point
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}