diff options
-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; } |