summaryrefslogtreecommitdiff
path: root/indra/newview/llpresetsmanager.cpp
diff options
context:
space:
mode:
authorThomas Nelson <rider@lindenlab.com>2018-01-23 08:55:58 -0800
committerThomas Nelson <rider@lindenlab.com>2018-01-23 08:55:58 -0800
commit6489598d57571d5b984cb37eec4dd4421ce86c2a (patch)
tree87584ba45f81e0f6877f8eaafce53e821bf924a8 /indra/newview/llpresetsmanager.cpp
parent1b8c2b5ebbe0d42f147730bc9b6528fa8c6796ce (diff)
parentd97d7c52068b71bd99b10db046c6a0688b61a254 (diff)
Merged lindenlab/viewer64 into default
Diffstat (limited to 'indra/newview/llpresetsmanager.cpp')
-rw-r--r--indra/newview/llpresetsmanager.cpp10
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;
}