Add activeProjectScene variable in App.tsx

This commit is contained in:
2026-04-11 04:15:49 +02:00
parent 1aa8e55487
commit 825ca26c30

View File

@@ -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;