= Changed Icosphere max to 8 and fixed Remove Doubles =

This commit changes icosphere maximum to 8 (was 500 before).
Also made Remove Doubles button found in the Buttons Window work again.
This commit is contained in:
Juho Vepsalainen
2007-11-12 12:54:37 +00:00
parent 9c7a4a16bf
commit 66338575d6
2 changed files with 2 additions and 2 deletions

View File

@@ -4331,7 +4331,7 @@ void do_meshbuts(unsigned short event)
G.f -= G_DISABLE_OK;
break;
case B_REMDOUB:
count= removedoublesflag(1, 1, G.scene->toolsettings->doublimit);
count= removedoublesflag(1, 0, G.scene->toolsettings->doublimit);
notice("Removed: %d", count);
if (count) { /* only undo and redraw if an action is taken */
countall ();

View File

@@ -1279,7 +1279,7 @@ void add_primitiveMesh(int type)
undostr="Add UV Sphere";
break;
case 12: /* Icosphere */
add_numbut(0, NUM|INT, "Subdivision:", 1, 500, &subdiv, NULL);
add_numbut(0, NUM|INT, "Subdivision:", 1, 8, &subdiv, NULL);
add_numbut(1, NUM|FLO, "Radius:", 0.001*G.vd->grid, 100*G.vd->grid, &dia, NULL);
if (!(do_clever_numbuts("Add Ico Sphere", 2, REDRAW))) return;