diff options
author | Oz Linden <oz@lindenlab.com> | 2015-08-19 11:32:02 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-08-19 11:32:02 -0400 |
commit | 1f40ba89e63c19a292958f5935596558552d39f6 (patch) | |
tree | 621d4bb67094aedddb3fbae5c802263cec5dd207 /indra | |
parent | ca6ed3e1c45cdc350aa01fd75df6612018f25c00 (diff) |
STORM-2120 Make graphics presets account specific
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llpresetsmanager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/newview/llpresetsmanager.cpp b/indra/newview/llpresetsmanager.cpp index dd25c0d1b8..c84baeba78 100644 --- a/indra/newview/llpresetsmanager.cpp +++ b/indra/newview/llpresetsmanager.cpp @@ -54,7 +54,7 @@ void LLPresetsManager::triggerChangeSignal() void LLPresetsManager::createMissingDefault() { - std::string default_file = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, PRESETS_DIR, PRESETS_GRAPHIC, "default.xml"); + std::string default_file = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, PRESETS_DIR, PRESETS_GRAPHIC, "default.xml"); if (!gDirUtilp->fileExists(default_file)) { LL_WARNS() << "No " << default_file << " found -- creating one" << LL_ENDL; @@ -71,7 +71,7 @@ void LLPresetsManager::createMissingDefault() std::string LLPresetsManager::getPresetsDir(const std::string& subdirectory) { - std::string presets_path = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, PRESETS_DIR); + std::string presets_path = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, PRESETS_DIR); std::string full_path; if (!gDirUtilp->fileExists(presets_path)) @@ -79,7 +79,7 @@ std::string LLPresetsManager::getPresetsDir(const std::string& subdirectory) LLFile::mkdir(presets_path); } - full_path = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, PRESETS_DIR, subdirectory); + full_path = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, PRESETS_DIR, subdirectory); if (!gDirUtilp->fileExists(full_path)) { LLFile::mkdir(full_path); |