diff --git a/src/Gui/DlgSettings3DView.ui b/src/Gui/DlgSettings3DView.ui index 4f6d633fe7..46f31adce5 100644 --- a/src/Gui/DlgSettings3DView.ui +++ b/src/Gui/DlgSettings3DView.ui @@ -172,6 +172,9 @@ Zoom at cursor + + true + ZoomAtCursor @@ -258,7 +261,16 @@ 6 - + + 11 + + + 11 + + + 11 + + 11 @@ -297,7 +309,16 @@ - + + 11 + + + 11 + + + 11 + + 11 @@ -345,7 +366,7 @@ false - + 255 255 @@ -391,7 +412,16 @@ Camera type - + + 11 + + + 11 + + + 11 + + 11 @@ -400,7 +430,7 @@ - Orthographic rendering + Or&thographic rendering true @@ -416,7 +446,7 @@ - Perspective rendering + Perspective renderin&g Perspective diff --git a/src/Gui/NavigationStyle.cpp b/src/Gui/NavigationStyle.cpp index 0e3eaa5151..6bd3e92513 100644 --- a/src/Gui/NavigationStyle.cpp +++ b/src/Gui/NavigationStyle.cpp @@ -233,7 +233,7 @@ void NavigationStyle::initialize() this->invertZoom = App::GetApplication().GetParameterGroupByPath ("User parameter:BaseApp/Preferences/View")->GetBool("InvertZoom",true); this->zoomAtCursor = App::GetApplication().GetParameterGroupByPath - ("User parameter:BaseApp/Preferences/View")->GetBool("ZoomAtCursor",false); + ("User parameter:BaseApp/Preferences/View")->GetBool("ZoomAtCursor",true); this->zoomStep = App::GetApplication().GetParameterGroupByPath ("User parameter:BaseApp/Preferences/View")->GetFloat("ZoomStep",0.2f); } diff --git a/src/Gui/View3DInventor.cpp b/src/Gui/View3DInventor.cpp index 3b229c1f44..691a2bd54e 100644 --- a/src/Gui/View3DInventor.cpp +++ b/src/Gui/View3DInventor.cpp @@ -344,7 +344,7 @@ void View3DInventor::OnChange(ParameterGrp::SubjectType &rCaller,ParameterGrp::M _viewer->navigationStyle()->setZoomInverted(on); } else if (strcmp(Reason,"ZoomAtCursor") == 0) { - bool on = rGrp.GetBool("ZoomAtCursor", false); + bool on = rGrp.GetBool("ZoomAtCursor", true); _viewer->navigationStyle()->setZoomAtCursor(on); } else if (strcmp(Reason,"ZoomStep") == 0) {