diff --git a/src/Mod/Sketcher/Gui/EditModeCoinManager.cpp b/src/Mod/Sketcher/Gui/EditModeCoinManager.cpp index 56eeedbc9c..56a7cf5ef9 100644 --- a/src/Mod/Sketcher/Gui/EditModeCoinManager.cpp +++ b/src/Mod/Sketcher/Gui/EditModeCoinManager.cpp @@ -1109,6 +1109,15 @@ void EditModeCoinManager::updateElementSizeParameters() if (it != supportedsizes.end()) { scaledMarkerSize = *it; } + else { + // This is a quick and dirty fix for https://github.com/FreeCAD/FreeCAD/issues/22010 + // + // Basically if we want to use a bigger marker size than available, we use the biggest one + // available. This is not a good way to fix the issue - we should ensure that the marker + // size that the user requests is actually available - this, however, requires more + // significant changes to the code. + scaledMarkerSize = *supportedsizes.rbegin(); + } drawingParameters.markerSize = scaledMarkerSize; updateInventorNodeSizes();