Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-04-10 15:33:01 +0400
committerTon Roosendaal <ton@blender.org>2004-04-10 15:33:01 +0400
commite74a3b4166c3e712c1ba6d0fccf2ed072f6b2ae0 (patch)
tree11294c13c0e8a240e7e9cebdaaf3fedc170da476
parent35b15f837ca94b04e826823f5bd7b297a03b0b70 (diff)
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.
-rw-r--r--source/blender/src/drawobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index 1d644d4d016..a5999827f11 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -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]);