Sketcher: Fix format string in ExternalGeometryFacade::initExtensions()

The format string of the warnings were incorrect and caused an fmt::format_error exception
This commit is contained in:
wmayer
2024-06-30 12:38:45 +02:00
committed by wwmayer
parent a3cc73ce15
commit 858e59fabf

View File

@@ -91,7 +91,7 @@ void ExternalGeometryFacade::initExtensions()
getGeo()->setExtension(std::make_unique<SketchGeometryExtension>()); // Create getExtension
Base::Console().Warning("%s\nSketcher External Geometry without Geometry Extension: %s \n",
Base::Console().Warning("Sketcher External Geometry without Geometry Extension: %s \n",
boost::uuids::to_string(Geo->getTag()).c_str());
}
@@ -101,7 +101,7 @@ void ExternalGeometryFacade::initExtensions()
std::make_unique<ExternalGeometryExtension>()); // Create getExtension
Base::Console().Warning(
"%s\nSketcher External Geometry without ExternalGeometryExtension: %s \n",
"Sketcher External Geometry without ExternalGeometryExtension: %s \n",
boost::uuids::to_string(Geo->getTag()).c_str());
}