Load modded o2rs

This commit is contained in:
MegaMech
2025-03-18 18:56:53 -06:00
parent 2e1e2a1a4b
commit a422822506
2 changed files with 6 additions and 5 deletions
+6 -4
View File
@@ -60,7 +60,7 @@ namespace Editor {
}
void ContentBrowserWindow::FindContent() {
std::list<std::string> myList = {"objects/*"};
std::list<std::string> myList = {"tracks/*", "actors/*", "objects/*"};
std::list<std::string> myList2 = {""};
Content.clear();
@@ -74,8 +74,11 @@ namespace Editor {
} else if (file.size() >= 6 && file.substr(file.size() - 6, 5) == "_tri_" && isdigit(file.back())) {
// ends with _tri_#
continue;
} else if (file.size() >= 6 && file.substr(file.size() - 6, 5) == "_vtx_" && isdigit(file.back())) {
// ends with _vtx_#
} else if (file.find("_vtx_") != std::string::npos) {
// Has _vtx_
continue;
} else if (file.find('.') != std::string::npos) {
// File has an extension
continue;
}
@@ -84,4 +87,3 @@ namespace Editor {
}
}
}