# | Line 10 | Line 10 | static const char RCSid[] = "$Id$"; | |
---|---|---|
10 | #include "rtio.h" | |
11 | #include "rtmath.h" | |
12 | #include "rterror.h" | |
13 | + | #include "paths.h" |
14 | #include "octree.h" | |
15 | #include "object.h" | |
16 | #include "otypes.h" | |
# | Line 545 | Line 546 | register MESH *mp; | |
546 | if (nouvbounds && pp->uv != NULL) | |
547 | return("unreferenced uv coordinates"); | |
548 | } | |
548 | – | if (pp->ntris + pp->nj1tris + pp->nj2tris <= 0) |
549 | – | error(WARNING, "no triangles in patch"); |
549 | if (pp->ntris > 0 && pp->tri == NULL) | |
550 | return("missing patch triangle list"); | |
551 | if (pp->nj1tris > 0 && pp->j1tri == NULL) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |