Skip to content

Commit

Permalink
[Sketcher] Update parameter name and add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Syres916 authored Jan 22, 2025
1 parent 67aebc7 commit 2da6263
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Sketcher/Gui/ViewProviderSketch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3549,7 +3549,8 @@ void ViewProviderSketch::onCameraChanged(SoCamera* cam)
ParameterGrp::handle hGrpskg = App::GetApplication().GetParameterGroupByPath(
"User parameter:BaseApp/Preferences/Mod/Sketcher");

if (!hGrpskg->GetBool("UseLegacyAxes", false)) {
if (!hGrpskg->GetBool("UseFiniteAxes", false)) {
// Workaround for https://github.com/FreeCAD/FreeCAD/issues/19191
// Stretch the axes to cover the whole viewport.
Gui::View3DInventor* view = qobject_cast<Gui::View3DInventor*>(this->getActiveView());
if (view) {
Expand All @@ -3559,7 +3560,6 @@ void ViewProviderSketch::onCameraChanged(SoCamera* cam)
editCoinManager->updateAxesLength(vpBBox);
}
}

drawGrid(true);
}

Expand Down

0 comments on commit 2da6263

Please sign in to comment.