Edit Mesh: Fix edges poking through the verts points in xray/seethrough mode

This commit is contained in:
Clément Foucault
2018-12-10 18:51:57 +01:00
parent 8e37eb10a1
commit 0c3535df9f

View 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;
}