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-09-30 01:11:13 +0400
committerTon Roosendaal <ton@blender.org>2004-09-30 01:11:13 +0400
commitc42f0fc5cf6ddd7361297d9a65e2d0bd3a4b832f (patch)
tree8bc7d3cbc4cd760881573859185e942a7e357653 /source/blender/src/drawobject.c
parent6106f87776dedb4c5502ca41327f4e046442b842 (diff)
Two small fixes;
- draw extra wire on solid displayed curve objects (cyclic filled curves) now doesnt draw wires of filled faces - set glPolygonOffset much more narrow now, since we dont need it for zbuf value selecting
Diffstat (limited to 'source/blender/src/drawobject.c')
-rw-r--r--source/blender/src/drawobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index b046f3e8b9b..73255cc36f1 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -1380,7 +1380,7 @@ static void displistmesh_draw_shaded(DispListMesh *dlm, unsigned char *vcols1, u
/***/
-static int draw_index_wire= 1;
+static int draw_index_wire= 0;
static int index3_nors_incr= 1;
static void drawDispListwire(ListBase *dlbase)
@@ -2300,7 +2300,7 @@ static void drawDispList(Object *ob, int dt)
else {
draw_index_wire= 0;
drawDispListwire(lb);
- draw_index_wire= 1;
+ //draw_index_wire= 1; // not used anymore, displistmesh does it
}
break;
case OB_SURF: