Skip to content

Commit

Permalink
Toponaming: Comment out console warnings triggered by external geometry
Browse files Browse the repository at this point in the history
  • Loading branch information
bgbsww authored and chennes committed Jul 9, 2024
1 parent e168c72 commit af1f738
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions src/Mod/Sketcher/App/ExternalGeometryFacade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,23 @@ void ExternalGeometryFacade::initExtensions()

getGeo()->setExtension(std::make_unique<SketchGeometryExtension>()); // 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())) {

getGeo()->setExtension(
std::make_unique<ExternalGeometryExtension>()); // 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<const SketchGeometryExtension>(
Expand Down

0 comments on commit af1f738

Please sign in to comment.