Fixed display of modifiers in sculpt mode.
This commit is contained in:
@@ -2175,7 +2175,7 @@ static int draw_mesh_object(Base *base, int dt, int flag)
|
||||
if (cageNeedsFree) cageDM->release(cageDM);
|
||||
if (finalNeedsFree) finalDM->release(finalDM);
|
||||
}
|
||||
else if(!G.obedit && G.scene->sculptdata.active_ob == ob) {
|
||||
else if(!G.obedit && G.scene->sculptdata.active_ob == ob && !modifiers_getVirtualModifierList(ob)) {
|
||||
sculptmode_draw_mesh(NULL);
|
||||
}
|
||||
else {
|
||||
|
||||
@@ -1483,14 +1483,14 @@ void sculpt()
|
||||
do_symmetrical_brush_actions(vertexcosnos,&e,&damaged_verts,&damaged_rects);
|
||||
}
|
||||
|
||||
if(modifier_calculations)
|
||||
DAG_object_flush_update(G.scene, OBACT, OB_RECALC_DATA);
|
||||
|
||||
if(modifier_calculations || sd->brush_type == GRAB_BRUSH) {
|
||||
calc_damaged_verts(&damaged_verts,e.grabdata);
|
||||
|
||||
scrarea_do_windraw(curarea);
|
||||
persp(PERSP_WIN);
|
||||
fdrawXORcirc((float)mouse[0],(float)mouse[1],sculptmode_brush()->size);
|
||||
screen_swapbuffers();
|
||||
backdrawview3d(0);
|
||||
} else {
|
||||
calc_damaged_verts(&damaged_verts,e.grabdata);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user