From ebb747ecf5e6b94d5962463435258487eaae1928 Mon Sep 17 00:00:00 2001 From: Paolo Cignoni Date: Mon, 13 Mar 2017 15:47:33 +0100 Subject: [PATCH] Added a meshassert in the uniform edge sampling --- vcg/complex/algorithms/point_sampling.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vcg/complex/algorithms/point_sampling.h b/vcg/complex/algorithms/point_sampling.h index b7c68888..b99e9587 100644 --- a/vcg/complex/algorithms/point_sampling.h +++ b/vcg/complex/algorithms/point_sampling.h @@ -761,7 +761,7 @@ static void EdgeMeshUniform(MeshType &m, VertexSampler &ps, float radius, bool c tri::RequirePerVertexFlags(m); tri::UpdateTopology::EdgeEdge(m); tri::UpdateFlags::EdgeClearV(m); - + tri::MeshAssert::EEOneManifold(m); for (EdgeIterator ei = m.edge.begin(); ei != m.edge.end(); ++ei) { if (!ei->IsV())