- 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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user