Fix: Missing clearing of mesh triangulation data

Missed in e412fe1798
This commit is contained in:
2022-11-16 11:25:54 -06:00
parent a81abbbb8f
commit 801451c459

View File

@@ -257,6 +257,7 @@ void BKE_mesh_runtime_clear_geometry(Mesh *mesh)
BKE_shrinkwrap_boundary_data_free(mesh->runtime->shrinkwrap_data); BKE_shrinkwrap_boundary_data_free(mesh->runtime->shrinkwrap_data);
} }
MEM_SAFE_FREE(mesh->runtime->subsurf_face_dot_tags); MEM_SAFE_FREE(mesh->runtime->subsurf_face_dot_tags);
MEM_SAFE_FREE(mesh->runtime->looptris.array);
} }
void BKE_mesh_tag_coords_changed(Mesh *mesh) void BKE_mesh_tag_coords_changed(Mesh *mesh)