Fixed "volume is splittable" detection

This commit is contained in:
YuSanka 2021-08-06 15:04:23 +02:00
parent c09e7fb2e2
commit d543d2f29d

View File

@ -157,6 +157,7 @@ template<class Its> bool its_is_splittable(const Its &m)
const auto& neighbor_index = ItsWithNeighborsIndex_<Its>::get_index(m);
std::vector<char> visited(its.indices.size(), false);
its_find_unvisited_neighbors(its, neighbor_index, visited);
auto faces = its_find_unvisited_neighbors(its, neighbor_index, visited);
return !faces.empty();