mirror of
https://github.com/glest/glest-source.git
synced 2025-08-22 07:52:51 +02:00
- added new commandline option to convert folders of g3d models to use specified texture format
- added new utility methods and changed code to use them (like adding trailing slash on paths)
This commit is contained in:
@@ -770,9 +770,7 @@ void MainWindow::saveScreenshot() {
|
||||
//string screenShotsPath = extractDirectoryPathFromFile(appPath) + string("screens/");
|
||||
string userData = Config::getInstance().getString("UserData_Root","");
|
||||
if(userData != "") {
|
||||
if(userData != "" && EndsWith(userData, "/") == false && EndsWith(userData, "\\") == false) {
|
||||
userData += "/";
|
||||
}
|
||||
endPathWithSlash(userData);
|
||||
}
|
||||
string screenShotsPath = userData + string("screens/");
|
||||
printf("screenShotsPath [%s]\n",screenShotsPath.c_str());
|
||||
|
Reference in New Issue
Block a user