- added mesh_get_texspace (should be used instead of direct access)

which calculates texspace on demand if need be.
 - removed almost all calls to tex_space_mesh

There may be a few corner cases where this goes wrong (meshes with vertex
keys) but these should get ironed out by coming modifier system.
This commit is contained in:
2005-07-14 21:57:18 +00:00
parent 0b89046790
commit 8da29921ba
12 changed files with 80 additions and 120 deletions

View File

@@ -544,9 +544,6 @@ NewBooleanMesh(
&vd_o,
inv_mat
);
// initialize the object
tex_space_mesh(me_new);
// free up the memory
@@ -785,7 +782,7 @@ ConvertCSGDescriptorsToMeshObject(
me->totface = face_it->num_elements;
mesh_calculate_vertex_normals(me);
// thats it!
if (user_face_vertex_data) {
MEM_freeN(user_face_vertex_data);