From fcfcdafa56091f5c8a62b7764bb90c90a8057022 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 15 Apr 2026 03:44:08 +0200 Subject: [PATCH] Refactor scene exit handling in App.tsx --- src/app/App.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/app/App.tsx b/src/app/App.tsx index 90cb5559..89cacd15 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -6147,11 +6147,6 @@ export function App({ store, initialStatusMessage }: AppProps) { modelAssetId?: string | null; } = {} ) => { - if (kind === "sceneExit" && resolveDefaultSceneExitDestination() === null) { - setStatusMessage("Author a Scene Entry before placing a Scene Exit."); - return; - } - beginCreation( { kind: "create", @@ -6190,7 +6185,7 @@ export function App({ store, initialStatusMessage }: AppProps) { ); }; - const resolveDefaultSceneExitDestination = ( + const resolveDefaultSceneTransitionTarget = ( preferredSceneId = editorState.activeSceneId ): { targetSceneId: string;