From 8ed0f46371ebe795d77d88de5be9e60c5baa6ae5 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 13 May 2026 03:54:54 +0200 Subject: [PATCH] Use specific ID constant for default scene path repeater asset --- src/app/App.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 106520f7..06931b10 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -235,6 +235,7 @@ import { MAX_SCENE_PATH_SAMPLED_RESOLUTION, MIN_SCENE_PATH_POINT_COUNT, MIN_SCENE_PATH_SAMPLED_RESOLUTION, + DEFAULT_SCENE_PATH_REPEATER_ASSET_ID, areScenePathsEqual, createAppendedScenePathPoint, createScenePath, @@ -9890,7 +9891,7 @@ export function App({ const defaultAsset = BUNDLED_SPLINE_CORRIDOR_ASSETS.find( - (asset) => asset.category === "fence_repeater" + (asset) => asset.id === DEFAULT_SCENE_PATH_REPEATER_ASSET_ID ) ?? BUNDLED_SPLINE_CORRIDOR_ASSETS[0]; if (defaultAsset === undefined) {