Edit Mesh: Fix edges poking through the verts points in xray/seethrough mode
authorClément Foucault <foucault.clem@gmail.com>
Mon, 10 Dec 2018 17:51:57 +0000 (18:51 +0100)
committerClément Foucault <foucault.clem@gmail.com>
Mon, 10 Dec 2018 18:02:17 +0000 (19:02 +0100)
source/blender/draw/modes/shaders/edit_mesh_overlay_geom_tri.glsl

index a04494d2ec4b11ee73a8240db7b9dd7a172f3f2e..30b88080b7153e7647f671e933454724fb446449 100644 (file)
@@ -92,7 +92,7 @@ void mask_edge_flag(int v, ivec3 eflag)
 
        /* Only shade the edge that we are currently drawing.
         * (fix corner bleeding) */
-       flag = eflag & ~EDGE_VERTEX_EXISTS;
+       flag = eflag;
        flag[vaf] &= ~EDGE_EXISTS;
        flag[v]   &= ~EDGE_EXISTS;
 }