new_editor: isolate project panel state and harden runtime reset

This commit is contained in:
2026-04-22 00:19:35 +08:00
parent fff33185b9
commit 8bfca5e8f2
11 changed files with 144 additions and 61 deletions

View File

@@ -48,6 +48,13 @@ struct EditorSceneComponentDescriptor {
class EditorSceneRuntime {
public:
EditorSceneRuntime() = default;
EditorSceneRuntime(const EditorSceneRuntime&) = delete;
EditorSceneRuntime& operator=(const EditorSceneRuntime&) = delete;
EditorSceneRuntime(EditorSceneRuntime&&) = delete;
EditorSceneRuntime& operator=(EditorSceneRuntime&&) = delete;
void Reset();
bool Initialize(const std::filesystem::path& projectRoot);
void BindSelectionService(EditorSelectionService* selectionService);