Fixed issues surrounding the increased vertex limit:

* Created a MESH_MAX_VERTS macro in DNA_mesh_types.h
* fixed vert limit for converting displistmesh ==> mesh
* fixed vert limit when doing boolean operations
This commit is contained in:
Chris Want
2004-03-14 21:21:09 +00:00
parent 807db2ea40
commit 6c650c586d
6 changed files with 19 additions and 15 deletions

View File

@@ -637,7 +637,7 @@ ConvertCSGDescriptorsToMeshObject(
if (face_it == NULL || vertex_it == NULL || props == NULL || me == NULL) {
return 0;
}
if (vertex_it->num_elements > 65000) return 0;
if (vertex_it->num_elements > MESH_MAX_VERTS) return 0;
// initialize the face structure for readback