diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2021-03-26 12:42:12 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2021-04-06 12:14:38 +0300 |
commit | 663a82b10d23a8fd8468fec314b2d5ba740542e4 (patch) | |
tree | 852ac925a3cbdf58676e4843f3793bdbb7a0c39c /source | |
parent | e71408d0d7dea93304476fb6a92e92fb469f73af (diff) |
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
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/curve/editcurve_select.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |