mirror of
https://github.com/glest/glest-source.git
synced 2025-08-12 19:33:59 +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:
@@ -79,9 +79,7 @@ Profiler::~Profiler(){
|
||||
else {
|
||||
string userData = config.getString("UserData_Root","");
|
||||
if(userData != "") {
|
||||
if(userData != "" && EndsWith(userData, "/") == false && EndsWith(userData, "\\") == false) {
|
||||
userData += "/";
|
||||
}
|
||||
endPathWithSlash(userData);
|
||||
}
|
||||
profileLog = userData + profileLog;
|
||||
}
|
||||
|
Reference in New Issue
Block a user