mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Added wren binding to raycast function
This commit is contained in:
@@ -84,6 +84,7 @@ namespace Nuake
|
||||
|
||||
void WelcomeWindow::LoadQueuedProject()
|
||||
{
|
||||
FileSystem::SetRootDirectory(FileSystem::GetParentPath(queuedProjectPath));
|
||||
auto project = Project::New();
|
||||
auto projectFileData = FileSystem::ReadFile(queuedProjectPath, true);
|
||||
try
|
||||
@@ -274,14 +275,9 @@ namespace Nuake
|
||||
{
|
||||
assert(SelectedProject < std::size(_Projects));
|
||||
|
||||
using namespace Nuake;
|
||||
|
||||
SaveRecentFile();
|
||||
|
||||
std::string projectPath = _Projects[SelectedProject].Path;
|
||||
FileSystem::SetRootDirectory(FileSystem::GetParentPath(projectPath));
|
||||
|
||||
queuedProjectPath = projectPath;
|
||||
queuedProjectPath = _Projects[SelectedProject].Path;;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user