Made sure in vpaint, wpaint and tpaint the "draw extra wire" shows identical
as for non-paint drawmodes. I guess this exception was from period before we had subsurfed paint drawing... right daniel?
This commit is contained in:
@@ -1756,11 +1756,12 @@ static void draw_mesh_fancy(Object *ob, DerivedMesh *baseDM, DerivedMesh *dm, in
|
|||||||
glDepthMask(0); // disable write in zbuffer, selected edge wires show better
|
glDepthMask(0); // disable write in zbuffer, selected edge wires show better
|
||||||
}
|
}
|
||||||
|
|
||||||
if (G.f & (G_VERTEXPAINT|G_WEIGHTPAINT|G_TEXTUREPAINT)) {
|
/* I need advise on this from Daniel... without this code it does it nicer */
|
||||||
baseDM->drawEdges(baseDM, dt==OB_WIRE);
|
// if (G.f & (G_VERTEXPAINT|G_WEIGHTPAINT|G_TEXTUREPAINT)) {
|
||||||
} else {
|
// baseDM->drawEdges(baseDM, dt==OB_WIRE);
|
||||||
|
// } else {
|
||||||
dm->drawEdges(dm, (dt==OB_WIRE || me->totface==0));
|
dm->drawEdges(dm, (dt==OB_WIRE || me->totface==0));
|
||||||
}
|
// }
|
||||||
|
|
||||||
if (dt!=OB_WIRE) {
|
if (dt!=OB_WIRE) {
|
||||||
glDepthMask(1);
|
glDepthMask(1);
|
||||||
|
|||||||
Reference in New Issue
Block a user