refactor(new_editor): tighten app dependency boundaries
This commit is contained in:
@@ -3,9 +3,7 @@
|
||||
#include "Rendering/Viewport/ViewportHostService.h"
|
||||
#include "Scene/EditorSceneRuntime.h"
|
||||
|
||||
#include <Rendering/Native/NativeRenderer.h>
|
||||
|
||||
#include <XCEditor/App/EditorPanelIds.h>
|
||||
#include "Composition/EditorPanelIds.h"
|
||||
#include <XCEditor/Viewport/UIEditorViewportInputBridge.h>
|
||||
#include <XCEditor/Viewport/UIEditorViewportSlot.h>
|
||||
|
||||
@@ -120,12 +118,12 @@ void ApplySceneToolMode(
|
||||
|
||||
void SceneViewportController::Initialize(
|
||||
const std::filesystem::path& repoRoot,
|
||||
Host::NativeRenderer& renderer) {
|
||||
Host::TextureHost& renderer) {
|
||||
m_toolOverlay.Initialize(repoRoot, renderer);
|
||||
ResetInteractionState();
|
||||
}
|
||||
|
||||
void SceneViewportController::Shutdown(Host::NativeRenderer& renderer) {
|
||||
void SceneViewportController::Shutdown(Host::TextureHost& renderer) {
|
||||
m_toolOverlay.Shutdown(renderer);
|
||||
ResetInteractionState();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user