diff options
author | Ton Roosendaal <ton@blender.org> | 2005-09-24 18:27:32 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-09-24 18:27:32 +0400 |
commit | abe9799c471dd0b139b1422a811dbe4963c50e33 (patch) | |
tree | c87b3f1f39cc8663c9ab25e2ebce6829c04251cc | |
parent | 1a82b405fd78d8e3d67db2d3dbd039811cd4c8c5 (diff) |
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?
-rw-r--r-- | source/blender/src/drawobject.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index e2e3d704073..fe5a8895506 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -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 } - if (G.f & (G_VERTEXPAINT|G_WEIGHTPAINT|G_TEXTUREPAINT)) { - baseDM->drawEdges(baseDM, dt==OB_WIRE); - } else { + /* I need advise on this from Daniel... without this code it does it nicer */ +// if (G.f & (G_VERTEXPAINT|G_WEIGHTPAINT|G_TEXTUREPAINT)) { +// baseDM->drawEdges(baseDM, dt==OB_WIRE); +// } else { dm->drawEdges(dm, (dt==OB_WIRE || me->totface==0)); - } +// } if (dt!=OB_WIRE) { glDepthMask(1); |