Merge branch 'main' into NK-103-Camera-corrupted-transform-2

This commit is contained in:
Antoine Pilote
2023-07-12 22:50:42 -04:00
10 changed files with 44 additions and 14 deletions

View File

@@ -1291,7 +1291,7 @@ namespace Nuake {
if (projectPath == "") // Hit cancel.
return;
FileSystem::SetRootDirectory(projectPath + "/../");
FileSystem::SetRootDirectory(FileSystem::GetParentPath(projectPath));
Ref<Project> project = Project::New();
if (!project->Deserialize(FileSystem::ReadFile(projectPath, true)))
{