Fix MESH_OT_shortest_path_pick

It was working only for REDO.

The reason was that we were not tagging our beloved
new multi-threaded depedency graph.
This commit is contained in:
Dalai Felinto 2018-08-24 12:15:53 -03:00
parent 3b2438192b
commit 21661d1681
1 changed files with 1 additions and 0 deletions

View File

@ -4406,6 +4406,7 @@ static int edbm_select_axis_exec(bContext *C, wmOperator *op)
}
EDBM_selectmode_flush(em);
WM_event_add_notifier(C, NC_GEOM | ND_DATA, obedit_iter->data);
DEG_id_tag_update(obedit_iter->data, DEG_TAG_SELECT_UPDATE);
}
MEM_freeN(objects);
return OPERATOR_FINISHED;