Revert "Fix studio runtime controller wiring"

This reverts commit 7727676e31.
This commit is contained in:
Andraxion 2026-06-27 05:19:52 -04:00
parent a3588b157c
commit 2a427688c6
2 changed files with 5 additions and 23 deletions

View file

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

View file

@ -143,12 +143,12 @@ export function initializeRuntimeControllers(config) {
uiScope.reloadGraphicsContentFromApi = reloadGraphicsContentFromApi; uiScope.reloadGraphicsContentFromApi = reloadGraphicsContentFromApi;
syncDocumentTitle(); syncDocumentTitle();
const historyController = createHistoryController(scope); createHistoryController(scope);
const npcController = createNpcController(scope); createNpcController(scope);
const sidebarController = createSidebarController(scope); createSidebarController(scope);
const renderController = createRenderController(scope); const renderController = createRenderController(scope);
const persistenceController = createPersistenceController(scope); createPersistenceController(scope);
const importController = createImportController(scope); createImportController(scope);
const interactionController = createInteractionController(scope); const interactionController = createInteractionController(scope);
const persistPopupBoundsDeferred = createDebouncedCallback(() => { const persistPopupBoundsDeferred = createDebouncedCallback(() => {
@ -193,13 +193,7 @@ export function initializeRuntimeControllers(config) {
}); });
return { return {
historyController,
npcController,
sidebarController,
renderController, renderController,
persistenceController,
importController,
interactionController,
statusLogWindowController, statusLogWindowController,
changelogSplashWindowController, changelogSplashWindowController,
persistPopupBoundsDeferred, persistPopupBoundsDeferred,