diff --git a/src/panels/NavigationPanel/NavigationSettings.tsx b/src/panels/NavigationPanel/NavigationSettings.tsx index 41a6caa3..9f62f544 100644 --- a/src/panels/NavigationPanel/NavigationSettings.tsx +++ b/src/panels/NavigationPanel/NavigationSettings.tsx @@ -10,7 +10,9 @@ import { ApplyIdleMotionOnPathFinishKey, CameraPathArrivalDistanceFactorKey, CameraPathSpeedFactorKey, - JumpToFadeDurationKey + CustomFlyToDuration, + JumpToFadeDurationKey, + UseCustomFlyToDuration } from '@/util/keys'; export function NavigationSettings() { @@ -40,6 +42,8 @@ export function NavigationSettings() { + + ); diff --git a/src/util/keys.ts b/src/util/keys.ts index e36419e2..3cfbd1d3 100644 --- a/src/util/keys.ts +++ b/src/util/keys.ts @@ -13,6 +13,9 @@ export const CameraPathArrivalDistanceFactorKey = 'NavigationHandler.PathNavigator.ArrivalDistanceFactor'; export const CameraPathSpeedFactorKey = 'NavigationHandler.PathNavigator.SpeedScale'; export const JumpToFadeDurationKey = 'NavigationHandler.JumpToFadeDuration'; +export const UseCustomFlyToDuration = + 'NavigationHandler.PathNavigator.UseCustomFlyToDuration'; +export const CustomFlyToDuration = 'NavigationHandler.PathNavigator.CustomFlyToDuration'; // To get any scene graph node you need ScenePrefix+NodeIdentifier export const ScenePrefixKey = 'Scene.';