Fix: Missing bounding box dirty tag when clearing mesh geometry

Similar to 801451c459.
This commit is contained in:
Hans Goudey 2022-11-16 18:30:04 -06:00
parent bf0180d206
commit 9a09adb7af
1 changed files with 1 additions and 0 deletions

View File

@ -253,6 +253,7 @@ void BKE_mesh_runtime_clear_geometry(Mesh *mesh)
free_bvh_cache(*mesh->runtime);
free_normals(*mesh->runtime);
free_subdiv_ccg(*mesh->runtime);
mesh->runtime->bounds_cache.tag_dirty();
if (mesh->runtime->shrinkwrap_data) {
BKE_shrinkwrap_boundary_data_free(mesh->runtime->shrinkwrap_data);
}