- removed unused DL_TRIA type
authorDaniel Dunbar <daniel@zuster.org>
Sun, 17 Jul 2005 17:43:15 +0000 (17:43 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Sun, 17 Jul 2005 17:43:15 +0000 (17:43 +0000)
source/blender/blenkernel/BKE_displist.h
source/blender/blenkernel/intern/displist.c

index 4efb3f1edb7cd03d6d9fad20fc385a41390314af..6fcb8a9d3657b6457397f413337f7446bfd7a604 100644 (file)
 #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;             \
index 779d784f97a65e1df630e2caa077691adb577726..353172382e2c4ea960922201dda823495d720174 100644 (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;
        }