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
This commit is contained in:
2004-09-29 21:11:13 +00:00
parent 6106f87776
commit c42f0fc5cf
2 changed files with 4 additions and 4 deletions

View File

@@ -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: