Fix T66332: Move gizmo stays in place when vertex is deleted

Reviewers: brecht

Maniphest Tasks: T66332

Differential Revision: https://developer.blender.org/D5177
This commit is contained in:
Philipp Oeser 2019-07-03 19:03:58 +02:00
parent 2866c74208
commit 4d6172044c
Notes: blender-bot 2023-02-14 06:00:47 +01:00
Referenced by issue #66332, Move gizmo stays in place when vertex is deleted
1 changed files with 3 additions and 0 deletions

View File

@ -534,6 +534,9 @@ static int edbm_delete_exec(bContext *C, wmOperator *op)
EDBM_flag_disable_all(em, BM_ELEM_SELECT);
EDBM_update_generic(em, true, true);
DEG_id_tag_update(obedit->data, ID_RECALC_SELECT);
WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit->data);
}
MEM_freeN(objects);