From af1f7385d47b9887e758794afdc3b1f69b406b96 Mon Sep 17 00:00:00 2001 From: bgbsww Date: Fri, 5 Jul 2024 08:50:35 -0400 Subject: [PATCH] Toponaming: Comment out console warnings triggered by external geometry --- src/Mod/Sketcher/App/ExternalGeometryFacade.cpp | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/Mod/Sketcher/App/ExternalGeometryFacade.cpp b/src/Mod/Sketcher/App/ExternalGeometryFacade.cpp index 152e10bd2bd9..963bb4a165e1 100644 --- a/src/Mod/Sketcher/App/ExternalGeometryFacade.cpp +++ b/src/Mod/Sketcher/App/ExternalGeometryFacade.cpp @@ -91,8 +91,11 @@ void ExternalGeometryFacade::initExtensions() getGeo()->setExtension(std::make_unique()); // Create getExtension - Base::Console().Warning("Sketcher External Geometry without Geometry Extension: %s \n", - boost::uuids::to_string(Geo->getTag()).c_str()); + // The following warning was commented out as part of the Toponaming problem mitigation, and + // left for potential usefulness to future developers making a custom build for debugging. + // Base::Console().Warning("Sketcher External Geometry without Geometry Extension: %s + // \n", + // boost::uuids::to_string(Geo->getTag()).c_str()); } if (!Geo->hasExtension(ExternalGeometryExtension::getClassTypeId())) { @@ -100,9 +103,11 @@ void ExternalGeometryFacade::initExtensions() getGeo()->setExtension( std::make_unique()); // Create getExtension - Base::Console().Warning( - "Sketcher External Geometry without ExternalGeometryExtension: %s \n", - boost::uuids::to_string(Geo->getTag()).c_str()); + // The following warning was commented out as part of the Toponaming problem mitigation, and + // left for potential usefulness to future developers making a custom build for debugging. + // Base::Console().Warning( + // "Sketcher External Geometry without ExternalGeometryExtension: %s \n", + // boost::uuids::to_string(Geo->getTag()).c_str()); } SketchGeoExtension = std::static_pointer_cast(