Refactor new_editor window architecture and routing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "Features/Scene/SceneViewportFeature.h"
|
||||
|
||||
#include "Composition/EditorPanelIds.h"
|
||||
#include "Ports/TexturePort.h"
|
||||
#include "Rendering/Host/UiTextureHost.h"
|
||||
#include "Rendering/Viewport/ViewportHostService.h"
|
||||
#include "Scene/EditorSceneRuntime.h"
|
||||
#include "State/EditorCommandFocusService.h"
|
||||
@@ -10,7 +10,7 @@ namespace XCEngine::UI::Editor::App {
|
||||
|
||||
void SceneViewportFeature::Initialize(
|
||||
const std::filesystem::path& repoRoot,
|
||||
Ports::TexturePort& textureHost,
|
||||
Rendering::Host::UiTextureHost& textureHost,
|
||||
const BuiltInIcons* builtInIcons,
|
||||
ViewportHostService& viewportHostService) {
|
||||
viewportHostService.SetContentRenderer(
|
||||
@@ -21,7 +21,7 @@ void SceneViewportFeature::Initialize(
|
||||
}
|
||||
|
||||
void SceneViewportFeature::Shutdown(
|
||||
Ports::TexturePort& textureHost,
|
||||
Rendering::Host::UiTextureHost& textureHost,
|
||||
ViewportHostService& viewportHostService) {
|
||||
viewportHostService.SetContentRenderer(kScenePanelId, nullptr, {});
|
||||
m_controller.Shutdown(textureHost);
|
||||
|
||||
Reference in New Issue
Block a user