Some random small stuff packed in one commit:

- Moved a couple of undo_push_mesh after the action has been confirmed (mainly bevel, merge and mirror)

- Split mirror in two functions, interface and functionality

- Simplified the code of the merge function
This commit is contained in:
2003-12-31 22:44:26 +00:00
parent ab36eaa947
commit 4b6bc29bf2
4 changed files with 35 additions and 35 deletions

View File

@@ -1130,20 +1130,12 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
if(G.obedit){
if(G.qual==LR_ALTKEY) {
if(G.obedit->type==OB_MESH) {
undo_push_mesh("Merge");
mergemenu();
makeDispList(G.obedit);
}
}
else if((G.qual==0)) {
if(G.obedit->type==OB_MESH) {
undo_push_mesh("Mirror");
mirrormenu();
}
else {
mirrormenu();
}
mirrormenu();
}
}
else if((G.qual==0)){