diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-08-17 00:42:52 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-08-17 00:42:52 +0400 |
commit | 2862e25147e844672a7d259d2df1f9ad3d7a0da0 (patch) | |
tree | a6aa6e7c34b5eee672532afe65f4ed66f9f79ac9 /source/blender | |
parent | d408dcdaadd15332dd934bd5ff0dc6546d33107f (diff) |
- bug fix, draw wire extra should use cage with vpaint/wpaint/tpaint
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/src/drawobject.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c index ab68351f997..452ca3821c0 100644 --- a/source/blender/src/drawobject.c +++ b/source/blender/src/drawobject.c @@ -1785,7 +1785,11 @@ static void draw_mesh_fancy(Object *ob, DerivedMesh *baseDM, DerivedMesh *dm, in glDepthMask(0); // disable write in zbuffer, selected edge wires show better } - dm->drawEdges(dm, dt==OB_WIRE); + if (G.f & (G_VERTEXPAINT|G_WEIGHTPAINT|G_TEXTUREPAINT)) { + baseDM->drawEdges(baseDM, dt==OB_WIRE); + } else { + dm->drawEdges(dm, dt==OB_WIRE); + } if (dt!=OB_WIRE) { glDepthMask(1); |