From 5e3425f7539e5d4c390db0b88e190a89002c6ada Mon Sep 17 00:00:00 2001 From: Rexbas Date: Mon, 29 Jan 2024 20:04:41 +0100 Subject: [PATCH] Gui: Set default navigation animation duration to 500 ms --- src/Gui/PreferencePackTemplates/View.cfg | 2 +- src/Gui/PreferencePages/DlgSettingsNavigation.ui | 2 +- src/Gui/View3DInventorViewer.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Gui/PreferencePackTemplates/View.cfg b/src/Gui/PreferencePackTemplates/View.cfg index 088f6fe881..a7357e70cb 100644 --- a/src/Gui/PreferencePackTemplates/View.cfg +++ b/src/Gui/PreferencePackTemplates/View.cfg @@ -35,7 +35,7 @@ - + diff --git a/src/Gui/PreferencePages/DlgSettingsNavigation.ui b/src/Gui/PreferencePages/DlgSettingsNavigation.ui index 8f8b3c7854..b7057b2dab 100644 --- a/src/Gui/PreferencePages/DlgSettingsNavigation.ui +++ b/src/Gui/PreferencePages/DlgSettingsNavigation.ui @@ -773,7 +773,7 @@ Mouse tilting is not disabled by this setting. 50 - 250 + 500 AnimationDuration diff --git a/src/Gui/View3DInventorViewer.cpp b/src/Gui/View3DInventorViewer.cpp index b01142cf9e..35db6d8efd 100644 --- a/src/Gui/View3DInventorViewer.cpp +++ b/src/Gui/View3DInventorViewer.cpp @@ -3406,7 +3406,7 @@ void View3DInventorViewer::startAnimation(const SbRotation& orientation, if (duration < 0) { duration = App::GetApplication() .GetParameterGroupByPath("User parameter:BaseApp/Preferences/View") - ->GetInt("AnimationDuration", 250); + ->GetInt("AnimationDuration", 500); } auto animation = std::make_shared(