Making Curve objects display smooth/solid was nice, but then the Surface

Objects should do that too, right? Bad testing... tsk! :)
This commit is contained in:
2004-11-01 12:11:03 +00:00
parent ab36f4a2d2
commit 84b3980b92
2 changed files with 10 additions and 10 deletions

View File

@@ -572,23 +572,21 @@ void do_common_editbuts(unsigned short event) // old name, is a mix of object an
}
efa= efa->next;
}
makeDispList(G.obedit);
allqueue(REDRAWVIEW3D, 0);
if(event == B_SETSMOOTH) BIF_undo_push("Set Smooth");
else BIF_undo_push("Set Solid");
}
else {
nu= editNurb.first;
while(nu) {
if(isNurbsel(nu)) {
if(event==B_SETSMOOTH) nu->flag |= ME_SMOOTH;
else nu->flag &= ~ME_SMOOTH;
if(event==B_SETSMOOTH) nu->flag |= CU_SMOOTH;
else nu->flag &= ~CU_SMOOTH;
}
nu= nu->next;
}
}
if(event == B_SETSMOOTH) BIF_undo_push("Set Smooth");
else BIF_undo_push("Set Solid");
makeDispList(G.obedit);
allqueue(REDRAWVIEW3D, 0);
}
else {
base= FIRSTBASE;