== Sculpt Mode ==

Removed the draw_flag field from SculptData, moved the two draw flags over to SculptData.flags
This commit is contained in:
2007-06-24 23:02:58 +00:00
parent 8cf2d5ca4a
commit b7c8eb39ed
5 changed files with 18 additions and 23 deletions

View File

@@ -2184,7 +2184,7 @@ static int draw_mesh_object(Base *base, int dt, int flag)
cageDM->release(cageDM);
finalDM->release(finalDM);
}
else if(!G.obedit && (G.f & G_SCULPTMODE) &&(G.scene->sculptdata.draw_flag & SCULPTDRAW_FAST) &&
else if(!G.obedit && (G.f & G_SCULPTMODE) &&(G.scene->sculptdata.flags & SCULPT_DRAW_FAST) &&
OBACT==ob && !sculpt_modifiers_active(ob)) {
sculptmode_draw_mesh(0);
}