mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-13 07:21:08 -06:00
Updating Ghoul repository
Updating SGCT repository Removing compiler warnings
This commit is contained in:
@@ -74,7 +74,7 @@ void SettingsEngine::initialize() {
|
||||
std::vector<std::string> scenes = ghoul::filesystem::Directory(sceneDir).readFiles();
|
||||
for (std::size_t i = 0; i < scenes.size(); ++i) {
|
||||
std::size_t found = scenes[i].find_last_of("/\\");
|
||||
_scenes.addOption(i, scenes[i].substr(found + 1));
|
||||
_scenes.addOption(static_cast<int>(i), scenes[i].substr(found + 1));
|
||||
}
|
||||
|
||||
// Set interaction to change ConfigurationManager and schedule the load
|
||||
|
||||
Reference in New Issue
Block a user