refactor(editor): isolate scene backend boundary
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "EditorContext.h"
|
||||
#include "EditorShellAssetBuilder.h"
|
||||
#include "Scene/EngineEditorSceneBackend.h"
|
||||
#include "Scene/EditorSceneRuntime.h"
|
||||
#include "Panels/EditorPanelIds.h"
|
||||
#include "WorkspaceEventSync.h"
|
||||
@@ -75,7 +76,7 @@ bool EditorContext::Initialize(const EditorRuntimePaths& runtimePaths) {
|
||||
m_projectRuntime.Initialize(runtimePaths.projectRoot);
|
||||
AppendUIEditorRuntimeTrace("startup", "EditorProjectRuntime::Initialize end");
|
||||
m_projectRuntime.BindSelectionService(&m_selectionService);
|
||||
m_sceneRuntime.Reset();
|
||||
m_sceneRuntime.SetBackend(CreateEngineEditorSceneBackend());
|
||||
AppendUIEditorRuntimeTrace("startup", "EditorSceneRuntime::Initialize begin");
|
||||
m_sceneRuntime.Initialize(m_session.projectRoot);
|
||||
AppendUIEditorRuntimeTrace("startup", "EditorSceneRuntime::Initialize end");
|
||||
|
||||
Reference in New Issue
Block a user