Fix random select in edge/face mode

patch D336 from Henrik Aarnio
This commit is contained in:
Campbell Barton 2014-02-21 08:51:30 +11:00
parent 8565b2042e
commit 77290fccd5

@ -2733,7 +2733,8 @@ static int edbm_select_random_exec(bContext *C, wmOperator *op)
}
if (select) {
EDBM_select_flush(em);
/* was EDBM_select_flush, but it over select in edge/face mode */
EDBM_selectmode_flush(em);
}
else {
EDBM_deselect_flush(em);