From 825ca26c30d69c843de3683bd716004659048b3a Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 11 Apr 2026 04:15:49 +0200 Subject: [PATCH] Add activeProjectScene variable in App.tsx --- src/app/App.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index e0c58a7a..ad7e6465 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -1102,6 +1102,8 @@ function createProjectDownloadName(documentName: string): string { export function App({ store, initialStatusMessage }: AppProps) { const editorState = useEditorStoreState(store); const sceneList = Object.values(editorState.projectDocument.scenes); + const activeProjectScene = + editorState.projectDocument.scenes[editorState.activeSceneId]; const brushList = Object.values(editorState.document.brushes); const layoutMode = editorState.viewportLayoutMode; const activePanelId = editorState.activeViewportPanelId;