- removed unused DL_TRIA type

This commit is contained in:
2005-07-17 17:43:15 +00:00
parent 726aea881c
commit 61fe766897
2 changed files with 1 additions and 4 deletions

View File

@@ -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; \

View File

@@ -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;
}