Advance editor runtime and scripting integration

This commit is contained in:
2026-04-29 16:55:44 +08:00
parent 631bf32db2
commit 2e50c90167
60 changed files with 4071 additions and 228 deletions

View File

@@ -613,7 +613,6 @@ std::unique_ptr<EditorWorkspacePanel> CreateWorkspacePanelRuntime(
EditorWorkspacePanelRuntimeSet CreateEditorWorkspacePanelRuntimeSet(
const EditorSession& session,
EditorCommandFocusService& commandFocusService,
EditorProjectRuntime& projectRuntime,
EditorSceneRuntime& sceneRuntime,
EditorColorPickerToolState& colorPickerToolState,
@@ -621,6 +620,8 @@ EditorWorkspacePanelRuntimeSet CreateEditorWorkspacePanelRuntimeSet(
RequestOpenUtilityWindowCallback requestOpenUtilityWindow,
RequestOpenSceneAssetCallback requestOpenSceneAsset) {
EditorWorkspacePanelRuntimeSet panels = {};
EditorCommandFocusService& commandFocusService =
panels.GetCommandFocusService();
for (const EditorProductPanelDescriptor& panel : GetEditorProductPanels()) {
if (std::unique_ptr<EditorWorkspacePanel> runtime =
CreateWorkspacePanelRuntime(