From 6fc5bea0dc355381cf3689e07fffee75a5188742 Mon Sep 17 00:00:00 2001 From: Furgo <148809153+furgo16@users.noreply.github.com> Date: Sat, 14 Jun 2025 09:33:02 +0200 Subject: [PATCH] Import: DXF parser, disable now redundant unsupported entities reporting --- src/Mod/Import/App/dxf/dxf.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Mod/Import/App/dxf/dxf.cpp b/src/Mod/Import/App/dxf/dxf.cpp index 7028ff56a1..4be44063da 100644 --- a/src/Mod/Import/App/dxf/dxf.cpp +++ b/src/Mod/Import/App/dxf/dxf.cpp @@ -2400,11 +2400,12 @@ void CDxfRead::UnsupportedFeature(const char* format, args&&... argValuess) // NOLINTNEXTLINE(runtime/printf) std::string formattedMessage = fmt::sprintf(format, std::forward(argValuess)...); m_stats.unsupportedFeatures[formattedMessage]++; + // *** This message is now disabled here because we use the stats reporter instead *** // We place these formatted messages in a map, count their occurrences and not their first // occurrence. - if (m_unsupportedFeaturesNoted[formattedMessage].first++ == 0) { - m_unsupportedFeaturesNoted[formattedMessage].second = m_line; - } + // if (m_unsupportedFeaturesNoted[formattedMessage].first++ == 0) { + // m_unsupportedFeaturesNoted[formattedMessage].second = m_line; + // } } bool CDxfRead::get_next_record()