Mesh: Replace auto smooth with node group #108014
|
@ -146,7 +146,6 @@ static void expand_mesh(Mesh &mesh,
|
|||
mesh.face_offset_indices[mesh.faces_num] = mesh.totloop + loop_expand;
|
||||
}
|
||||
if (loop_expand != 0) {
|
||||
CustomData_free_layers(&mesh.loop_data, CD_NORMAL, mesh.totloop);
|
||||
CustomData_free_layers(&mesh.loop_data, CD_MDISPS, mesh.totloop);
|
||||
CustomData_free_layers(&mesh.loop_data, CD_TANGENT, mesh.totloop);
|
||||
CustomData_free_layers(&mesh.loop_data, CD_PAINT_MASK, mesh.totloop);
|
||||
|
|
Loading…
Reference in New Issue