added Goofster's mergemenu to the alt-w menu.

revised by Matt Ebb
This commit is contained in:
2003-05-10 12:22:26 +00:00
parent 8218dd2614
commit 3c77276bd7
3 changed files with 24 additions and 18 deletions

View File

@@ -1177,18 +1177,18 @@ void mergemenu(void)
extern float doublimit;
short event;
event = pupmenu("MERGE %t|At Cursor%x1|At Center%x2");
event = pupmenu("MERGE %t|At Center%x1|At Cursor%x2");
switch (event) {
case 1: /*Merge at Cursor*/
snap_sel_to_curs();
notice("Removed: %d\n", removedoublesflag(1, doublimit));
case 1: /*Merge at center of selection*/
snap_to_center();
notice("Removed: %d", removedoublesflag(1, doublimit));
allqueue(REDRAWVIEW3D, 0);
break;
case 2: /*Merge at center of selection*/
snap_to_center();
notice("Removed: %d\n", removedoublesflag(1, doublimit));
case 2: /*Merge at Cursor*/
snap_sel_to_curs();
notice("Removed: %d", removedoublesflag(1, doublimit));
allqueue(REDRAWVIEW3D, 0);
break;
}