Sculpt: option "Partial Draw" was hanging, causing wrong mesh drawing
outside of sculptmode (and no visible faceselect etc).
This commit is contained in:
2007-02-09 14:05:12 +00:00
parent 23980a1783
commit 3320a39e0d

View File

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