editor: explicit runtime path contract
This commit is contained in:
@@ -45,8 +45,8 @@ ViewportHostService::ViewportHostService() = default;
|
||||
|
||||
ViewportHostService::~ViewportHostService() = default;
|
||||
|
||||
void ViewportHostService::Initialize(const std::filesystem::path& repoRoot) {
|
||||
m_sceneViewportRuntime.Initialize(BuildSceneViewportShaderPaths(repoRoot));
|
||||
void ViewportHostService::Initialize(const EditorRuntimePaths& runtimePaths) {
|
||||
m_sceneViewportRuntime.Initialize(BuildSceneViewportShaderPaths(runtimePaths));
|
||||
m_placeholderRenderers.clear();
|
||||
for (const EditorProductPanelDescriptor& panel : GetEditorProductPanels()) {
|
||||
if (panel.presentationKind != UIEditorPanelPresentationKind::ViewportShell) {
|
||||
|
||||
Reference in New Issue
Block a user