Updating Ghoul repository

Updating SGCT repository
Removing compiler warnings
This commit is contained in:
Alexander Bock
2017-03-10 09:32:16 -05:00
parent dbceb169f7
commit bcf92804b6
39 changed files with 201 additions and 164 deletions

View File

@@ -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