From adf464de773fd3ca90fb31c85f48c157f4056ec1 Mon Sep 17 00:00:00 2001 From: Isaak Lim Date: Mon, 3 Jun 2013 09:00:42 +0000 Subject: [PATCH] the normal deviation module now also is a priority module in the commandlineDecimater tool git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@829 fdac6126-5c0c-442c-9429-916003d36597 --- src/OpenMesh/Apps/Decimating/decimater.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OpenMesh/Apps/Decimating/decimater.cc b/src/OpenMesh/Apps/Decimating/decimater.cc index 64807aac..6c9f02cb 100644 --- a/src/OpenMesh/Apps/Decimating/decimater.cc +++ b/src/OpenMesh/Apps/Decimating/decimater.cc @@ -296,6 +296,7 @@ decimate(const std::string &_ifname, decimater.add(modND); if (_opt.ND.has_value()) decimater.module( modND ).set_normal_deviation( _opt.ND ); + decimater.module( modND ).set_binary(false); } typename OpenMesh::Decimater::ModNormalFlippingT::Handle modNF; @@ -549,7 +550,7 @@ void usage_and_exit(int xcode) std::cerr << " EL[:legth] - ModEdgeLength*\n"; std::cerr << " HD[:distance] - ModHausdorff\n"; std::cerr << " IS - ModIndependentSets\n"; - std::cerr << " ND[:angle] - ModNormalDeviation\n"; + std::cerr << " ND[:angle] - ModNormalDeviation*\n"; std::cerr << " NF[:angle] - ModNormalFlipping\n"; std::cerr << " PM[:file name] - ModProgMesh\n"; std::cerr << " Q[:error] - ModQuadric*\n";