diff --git a/src/meshlabplugins/filter_clean/cleanfilter.cpp b/src/meshlabplugins/filter_clean/cleanfilter.cpp index 5ad5a2b00..98acae7e1 100644 --- a/src/meshlabplugins/filter_clean/cleanfilter.cpp +++ b/src/meshlabplugins/filter_clean/cleanfilter.cpp @@ -277,6 +277,7 @@ std::map CleanFilter::applyFilter(const QAction *filter, { case FP_BALL_PIVOTING: { + vcg::tri::Allocator::CompactEveryVector(m.cm); Scalarm Radius = par.getAbsPerc("BallRadius"); Scalarm Clustering = par.getFloat("Clustering") / 100.0f; Scalarm CreaseThr = math::ToRad(par.getFloat("CreaseThr")); diff --git a/src/vcglib b/src/vcglib index 15b1b778d..bd1a92e2f 160000 --- a/src/vcglib +++ b/src/vcglib @@ -1 +1 @@ -Subproject commit 15b1b778d4a260650f3830fdceff028420ce6543 +Subproject commit bd1a92e2f0f5a3b240e5778d816b8e0e7a9e6d1d