Gui: Set default navigation animation duration to 500 ms

This commit is contained in:
Rexbas
2024-01-29 20:04:41 +01:00
committed by Chris Hennes
parent 0e7aa5f7bc
commit 5e3425f753
3 changed files with 3 additions and 3 deletions

View File

@@ -35,7 +35,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"/>

View File

@@ -773,7 +773,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>

View File

@@ -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<FixedTimeAnimation>(