[Bf-blender-cvs] [663a82b10d2] master: Fix T86932: Curve: pick shortest path missing update of active point drawing
Philipp Oeser
noreply at git.blender.org
Tue Apr 6 11:17:14 CEST 2021
Commit: 663a82b10d23a8fd8468fec314b2d5ba740542e4
Author: Philipp Oeser
Date: Fri Mar 26 10:42:12 2021 +0100
Branches: master
https://developer.blender.org/rB663a82b10d23a8fd8468fec314b2d5ba740542e4
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
===================================================================
M source/blender/editors/curve/editcurve_select.c
===================================================================
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;
}
More information about the Bf-blender-cvs
mailing list