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:
@@ -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)){
|
||||
|
||||
Reference in New Issue
Block a user