Fix studio runtime controller wiring

This commit is contained in:
Andraxion 2026-06-27 04:49:34 -04:00
parent ec3e0f5138
commit 7727676e31
2 changed files with 23 additions and 5 deletions

View file

@ -1212,7 +1212,13 @@ export function startWorldshaperStudio(bootstrap: WorldshaperStudioBootstrap, in
runtimeUniqueId,
});
const { appendEditorLogEntry, getEditorLogEntries, clearEditorLogEntries } = runtimeLogging;
let historyController = null;
let npcController = null;
let sidebarController = null;
let renderController = null;
let persistenceController = null;
let importController = null;
let interactionController = null;
const documentController = createMapDocumentController({
mapId: currentMapId,
getMapId: () => currentMapId,
@ -4750,7 +4756,13 @@ export function startWorldshaperStudio(bootstrap: WorldshaperStudioBootstrap, in
syncWorldNeighborhoodForViewport,
drawNow,
});
historyController = runtimeControllerBootstrap.historyController;
npcController = runtimeControllerBootstrap.npcController;
sidebarController = runtimeControllerBootstrap.sidebarController;
renderController = runtimeControllerBootstrap.renderController;
persistenceController = runtimeControllerBootstrap.persistenceController;
importController = runtimeControllerBootstrap.importController;
interactionController = runtimeControllerBootstrap.interactionController;
statusLogWindowController = runtimeControllerBootstrap.statusLogWindowController;
runtimeLogging.setStatusLogWindowController(statusLogWindowController);
}