diff options
author | callum_linden <none@none> | 2018-01-05 18:15:07 -0800 |
---|---|---|
committer | callum_linden <none@none> | 2018-01-05 18:15:07 -0800 |
commit | 2b681ae8aa42afba271ccd3f9cddf21ba85cde46 (patch) | |
tree | ef87b92c9e0c789967613358a3272307039e0c25 /indra/newview/llpresetsmanager.cpp | |
parent | 508e754eb4501b9c3fbfbfde52ca7ae8ed0f06b7 (diff) | |
parent | 6659192a351f61a1c2476a6d34cc5fd6c8d6123f (diff) |
Automated merge with tip of viewer64
Diffstat (limited to 'indra/newview/llpresetsmanager.cpp')
-rw-r--r-- | indra/newview/llpresetsmanager.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp index 76d721ecdc..96818d5a21 100644 --- a/indra/newview/llpresetsmanager.cpp +++ b/indra/newview/llpresetsmanager.cpp @@ -78,16 +78,10 @@ std::string LLPresetsManager::getPresetsDir(const std::string& subdirectory) std::string presets_path = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, PRESETS_DIR); std::string full_path; - if (!gDirUtilp->fileExists(presets_path)) - { - LLFile::mkdir(presets_path); - } + LLFile::mkdir(presets_path); full_path = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, PRESETS_DIR, subdirectory); - if (!gDirUtilp->fileExists(full_path)) - { - LLFile::mkdir(full_path); - } + LLFile::mkdir(full_path); return full_path; } |