Bug 1142
In Mesh editmode, with option "draw faces", hiding 1 vertex of a quad doesn't always result in not drawing the face. Only 3 out of 4 vertices were tested.
This commit is contained in:
@@ -2376,7 +2376,7 @@ static void drawmeshwire(Object *ob)
|
||||
|
||||
evl= em->faces.first;
|
||||
while(evl) {
|
||||
if(evl->v1->h==0 && evl->v2->h==0 && evl->v3->h==0) {
|
||||
if(evl->v1->h==0 && evl->v2->h==0 && evl->v3->h==0 && (evl->v4==NULL || evl->v4->h==0)) {
|
||||
|
||||
if(1) {
|
||||
if(vlakselectedAND(evl, 1)) glColor4ub(col2[0], col2[1], col2[2], col2[3]);
|
||||
|
||||
Reference in New Issue
Block a user