delimiters are you friends

fixed a silly bug with merge and mirror
This commit is contained in:
2003-11-16 00:31:27 +00:00
parent ad9e1e44d8
commit 4bdf7cfcf0

View File

@@ -1139,15 +1139,18 @@ void winqreadview3dspace(ScrArea *sa, void *spacedata, BWinEvent *evt)
case MKEY: case MKEY:
if(G.obedit){ if(G.obedit){
if(G.qual==LR_ALTKEY) { if(G.qual==LR_ALTKEY) {
if(G.obedit->type==OB_MESH) if(G.obedit->type==OB_MESH) {
undo_push_mesh("Merge"); undo_push_mesh("Merge");
mergemenu(); mergemenu();
} }
else if((G.qual==0)) }
if(G.obedit->type==OB_MESH) else if((G.qual==0)) {
if(G.obedit->type==OB_MESH) {
undo_push_mesh("Mirror"); undo_push_mesh("Mirror");
mirrormenu(); mirrormenu();
} }
}
}
else if((G.qual==0)){ else if((G.qual==0)){
movetolayer(); movetolayer();
} }