Removed SlowerDraw and FasterDraw buttons in Mesh panel after discussion

with Ton on IRC. This feature was old, something of a hack and didn't really
work well with the modifier stack. To paraphrase Ton: We want to make blender
higher quality, so poorly thought out code should be removed, or replaced
with decent implementations.
This commit is contained in:
2006-12-06 12:34:26 +00:00
parent a720296999
commit c0becb4532
4 changed files with 1 additions and 84 deletions

View File

@@ -724,10 +724,6 @@ static void editing_panel_mesh_type(Object *ob, Mesh *me)
uiDefIDPoinBut(block, test_meshpoin_but, ID_ME, B_REDR, "TexMesh: ", 175,124,230,19, &me->texcomesh, "Derive texture coordinates from another mesh.");
uiBlockBeginAlign(block);
uiDefBut(block, BUT, B_SLOWERDRAW,"SlowerDraw", 175,30,95,19, 0, 0, 0, 0, 0, "Displays the active object with all possible edges shown");
uiDefBut(block, BUT, B_FASTERDRAW,"FasterDraw", 175,10,95,19, 0, 0, 0, 0, 0, "Displays the active object faster by omitting some edges when drawing");
uiBlockBeginAlign(block);
uiDefBut(block, BUT,B_DOCENTRE, "Centre", 275, 95, 130, 19, 0, 0, 0, 0, 0, "Shifts object data to be centered about object's origin");
uiDefBut(block, BUT,B_DOCENTRENEW, "Centre New", 275, 75, 130, 19, 0, 0, 0, 0, 0, "Shifts object's origin to center of object data");
@@ -3631,13 +3627,6 @@ void do_meshbuts(unsigned short event)
allqueue(REDRAWVIEW3D, 0);
}
break;
case B_SLOWERDRAW:
slowerdraw();
break;
case B_FASTERDRAW:
fasterdraw();
break;
}
}
if(G.obedit==NULL || (G.obedit->type!=OB_MESH)) return;