From d4d2e23e1b96dd03333cfdfc74e7e2cf64ca02cb Mon Sep 17 00:00:00 2001 From: Marco Callieri Date: Wed, 21 Dec 2016 11:26:17 +0100 Subject: [PATCH] corrected output text from filter when poisson-disk sampling created a new layer, was reporting the number of vertices of the SOURCE layer, and not of the newly created one --- src/meshlabplugins/filter_sampling/filter_sampling.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/meshlabplugins/filter_sampling/filter_sampling.cpp b/src/meshlabplugins/filter_sampling/filter_sampling.cpp index a0f99bddc..692a2d2ce 100644 --- a/src/meshlabplugins/filter_sampling/filter_sampling.cpp +++ b/src/meshlabplugins/filter_sampling/filter_sampling.cpp @@ -937,7 +937,7 @@ bool FilterDocSampling::applyFilter(QAction *action, MeshDocument &md, RichParam vcg::tri::UpdateBounding::Box(mm->cm); Point3i &g=pp.pds.gridSize; Log("Grid size was %i %i %i (%i allocated on %i)",g[0],g[1],g[2], pp.pds.gridCellNum, g[0]*g[1]*g[2]); - Log("Sampling created a new mesh of %i points",md.mm()->cm.vn); + Log("Sampling created a new mesh of %i points", mm->cm.vn); } break;