forked from bartvdbraak/blender
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:
parent
7d9f0232df
commit
48059cc329
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user