Added support for skyboxes using a new SkyBox resource and component

This commit is contained in:
antopilo
2024-11-06 20:40:38 -05:00
parent 9647cac48b
commit 89209dc7ba
25 changed files with 665 additions and 34725 deletions

View File

@@ -2937,12 +2937,12 @@ namespace Nuake {
std::string selectedProject = FileDialog::SaveFile("Project file\0*.project");
if(!String::EndsWith(selectedProject, ".project"))
selectedProject += ".project";
if (selectedProject.empty()) // Hit cancel
return;
if(!String::EndsWith(selectedProject, ".project"))
selectedProject += ".project";
auto backslashSplits = String::Split(selectedProject, '\\');
auto fileName = backslashSplits[backslashSplits.size() - 1];