Cleanup of the SDNA SculptData struct. Moved a lot of data that isn't saved into a separate SculptSession struct (outside of SDNA.)

This commit is contained in:
2006-12-25 08:52:57 +00:00
parent 5aabafeb99
commit dd5077060e
8 changed files with 213 additions and 181 deletions

View File

@@ -2163,7 +2163,7 @@ static int draw_mesh_object(Base *base, int dt, int flag)
finalDM->release(finalDM);
}
else if(!G.obedit && G.scene->sculptdata.draw_mode &&
G.scene->sculptdata.active_ob == ob && !modifiers_getVirtualModifierList(ob)) {
OBACT==ob && !modifiers_getVirtualModifierList(ob)) {
sculptmode_draw_mesh(0);
}
else {