From a3e499656c278bd5c9a8ce9317ccd17ef2c00eee Mon Sep 17 00:00:00 2001 From: Thomas Krijnen Date: Wed, 14 Sep 2022 14:13:24 +0200 Subject: [PATCH] Don't log vertex counts in helper when they didn't change --- src/ifcgeom/faceset_helper.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ifcgeom/faceset_helper.cpp b/src/ifcgeom/faceset_helper.cpp index 62c6ea747c..9d0da57869 100644 --- a/src/ifcgeom/faceset_helper.cpp +++ b/src/ifcgeom/faceset_helper.cpp @@ -140,7 +140,9 @@ IfcGeom::Kernel::faceset_helper::faceset_helper( } } - Logger::Notice("Collapsed vertices from " + std::to_string(pnts.size()) + " (" + std::to_string(unique.size()) + " unique) to " + std::to_string(vertex_mapping_.size())); + if (unique.size() != vertex_mapping_.size()) { + Logger::Notice("Collapsed vertices from " + std::to_string(pnts.size()) + " (" + std::to_string(unique.size()) + " unique) to " + std::to_string(vertex_mapping_.size())); + } typedef std::array edge_t; typedef std::set edge_set_t;