From 27dd1f4a3361a75acab52615d184d5bc7d29234e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 22 Apr 2026 17:08:54 +0200 Subject: [PATCH] auto-git: [change] src/app/App.tsx --- src/app/App.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index e6a52b78..91d4c64c 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -2293,6 +2293,8 @@ export function App({ store, initialStatusMessage }: AppProps) { }; const selectedPlayerStart = selectedEntity?.kind === "playerStart" ? selectedEntity : null; + const selectedCameraRig = + selectedEntity?.kind === "cameraRig" ? selectedEntity : null; const selectedSoundEmitter = isSoundEmitterEntity(selectedEntity) ? selectedEntity : null; @@ -2470,6 +2472,17 @@ export function App({ store, initialStatusMessage }: AppProps) { entity: Extract; label: string; }>; + const cameraRigActorOptions = Array.from( + new Set( + entityList + .filter((entity): entity is Extract => entity.kind === "npc") + .map((entity) => entity.actorId) + ) + ).sort((left, right) => left.localeCompare(right)); + const cameraRigEntityTargetOptions = entityDisplayList.filter( + ({ entity }) => + entity.id !== selectedCameraRig?.id && entity.kind !== "cameraRig" + ); const playableSoundEmitterOptions = soundEmitterOptions.filter( ({ entity }) => { if (entity.audioAssetId === null) {