fix problem with select invert - flush selection.

previously this wasnt needed because doing an undo push would flush the selection.
This commit is contained in:
Campbell Barton 2012-04-02 09:07:02 +00:00
parent 7d9f0232df
commit 48059cc329
2 changed files with 3 additions and 1 deletions

@ -658,9 +658,10 @@ static int edbm_select_all_exec(bContext *C, wmOperator *op)
break;
case SEL_INVERT:
EDBM_select_swap(em);
EDBM_selectmode_flush(em);
break;
}
WM_event_add_notifier(C, NC_GEOM | ND_SELECT, obedit);
return OPERATOR_FINISHED;

@ -1620,6 +1620,7 @@ static void select_all_perform(bContext *C, int action)
break;
case SEL_INVERT:
EDBM_select_swap(em);
EDBM_selectmode_flush(em);
break;
}
}