Fix #111582: Delete geometry node incorrectly marks no loose vertices

The logic for telling when there are no loose edges or vertices was
incorrect.
This commit is contained in:
Hans Goudey
2023-08-30 18:16:22 -04:00
parent 249a03525c
commit 7c57eb42d7
@@ -493,7 +493,9 @@ std::optional<Mesh *> mesh_copy_selection_keep_verts(
/* Positions are not changed by the operation, so the bounds are the same. */
dst_mesh->runtime->bounds_cache = src_mesh.runtime->bounds_cache;
copy_loose_vert_hint(src_mesh, *dst_mesh);
if (selection_domain == ATTR_DOMAIN_FACE) {
copy_loose_edge_hint(src_mesh, *dst_mesh);
}
return dst_mesh;
}