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