diff options
author | Daniel Dunbar <daniel@zuster.org> | 2005-07-17 21:43:15 +0400 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2005-07-17 21:43:15 +0400 |
commit | 61fe76689779dba965ed4f8515e47191bdea7196 (patch) | |
tree | 2378c228e384a752717828cb1b6625a1ce4b0e91 /source/blender | |
parent | 726aea881ceea5a675f77d290b50c645a6e97ba7 (diff) |
- removed unused DL_TRIA type
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_displist.h | 3 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/displist.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/blenkernel/BKE_displist.h b/source/blender/blenkernel/BKE_displist.h index 4efb3f1edb7..6fcb8a9d365 100644 --- a/source/blender/blenkernel/BKE_displist.h +++ b/source/blender/blenkernel/BKE_displist.h @@ -39,11 +39,9 @@ #define DL_POLY 0 #define DL_SEGM 1 #define DL_SURF 2 -#define DL_TRIA 3 #define DL_INDEX3 4 #define DL_INDEX4 5 #define DL_VERTCOL 6 -#define DL_VERTS 7 #define DL_NORS 8 /* dl->flag */ @@ -52,7 +50,6 @@ #define DL_FRONT_CURVE 4 #define DL_BACK_CURVE 8 -/* This should, of course, become a function */ #define DL_SURFINDEX(cyclu, cyclv, sizeu, sizev) \ \ if( (cyclv)==0 && a==(sizev)-1) break; \ diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c index 779d784f97a..353172382e2 100644 --- a/source/blender/blenkernel/intern/displist.c +++ b/source/blender/blenkernel/intern/displist.c @@ -279,7 +279,7 @@ int displist_has_faces(ListBase *lb) dl= lb->first; while(dl) { - if ELEM5(dl->type, DL_INDEX3, DL_INDEX4, DL_SURF, DL_TRIA, DL_POLY) + if ELEM5(dl->type, DL_INDEX3, DL_INDEX4, DL_SURF, DL_POLY) return 1; dl= dl->next; } |