Checker Deselect: keep active item selected by default

This commit is contained in:
Campbell Barton 2014-05-23 20:49:30 +10:00
parent bec8cee7cf
commit 4e13616b04

@ -2623,6 +2623,8 @@ static int edbm_select_nth_exec(bContext *C, wmOperator *op)
/* so input of offset zero ends up being (nth - 1) */
offset = mod_i(offset, nth);
/* depth starts at 1, this keeps active item selected */
offset -= 1;
if (edbm_deselect_nth(em, nth, offset) == false) {
BKE_report(op->reports, RPT_ERROR, "Mesh has no active vert/edge/face");