Skip to content

Commit

Permalink
Gui: Set default navigation animation duration to 500 ms
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexbas committed Jan 30, 2024
1 parent f112107 commit 6c7f672
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Gui/PreferencePackTemplates/View.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
<FCBool Name="ShowSelectionBoundingBox" Value="0"/>
<FCBool Name="UseNavigationAnimations" Value="1"/>
<FCBool Name="UseSpinningAnimations" Value="0"/>
<FCFloat Name="AnimationDuration" Value="0.25"/>
<FCFloat Name="AnimationDuration" Value="500"/>
<FCBool Name="UseVBO" Value="0"/>
<FCFloat Name="ViewScalingFactor" Value="1.0"/>
<FCBool Name="ZoomAtCursor" Value="1"/>
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/PreferencePages/DlgSettingsNavigation.ui
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ Mouse tilting is not disabled by this setting.</string>
<number>50</number>
</property>
<property name="value">
<number>250</number>
<number>500</number>
</property>
<property name="prefEntry" stdset="0">
<cstring>AnimationDuration</cstring>
Expand Down
2 changes: 1 addition & 1 deletion src/Gui/View3DInventorViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3307,7 +3307,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<FixedTimeAnimation>(
Expand Down

0 comments on commit 6c7f672

Please sign in to comment.