Fix #30879: uv editor hide did not work with the mesh in vertex/edge select

mode, selection was not flushed down to faces.
This commit is contained in:
Brecht Van Lommel
2012-04-10 13:19:16 +00:00
parent 5061f2eb62
commit 8adc276885

View File

@@ -3059,6 +3059,9 @@ static int hide_exec(bContext *C, wmOperator *op)
}
}
/* flush vertex selection changes */
if(!facemode && em->selectmode != SCE_SELECT_FACE)
EDBM_selectmode_flush(em);
EDBM_editselection_validate(em);
WM_event_add_notifier(C, NC_GEOM|ND_SELECT, obedit->data);