editor: explicit runtime path contract

This commit is contained in:
2026-04-28 14:49:41 +08:00
parent 0e506f21ec
commit cd166037bf
38 changed files with 210 additions and 129 deletions

View File

@@ -84,9 +84,9 @@ void EditorProjectRuntime::Reset() {
m_pendingSceneOpenPath.reset();
}
bool EditorProjectRuntime::Initialize(const std::filesystem::path& repoRoot) {
bool EditorProjectRuntime::Initialize(const std::filesystem::path& projectRoot) {
Reset();
m_browserModel.Initialize(repoRoot);
m_browserModel.Initialize(projectRoot);
return true;
}