diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llvoavatar.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp index 204357f..c0ddac5 100644 --- a/linden/indra/newview/llvoavatar.cpp +++ b/linden/indra/newview/llvoavatar.cpp | |||
@@ -1496,8 +1496,16 @@ LLPartSysData LLVOAvatar::sCloud; | |||
1496 | void LLVOAvatar::initCloud() | 1496 | void LLVOAvatar::initCloud() |
1497 | { | 1497 | { |
1498 | // fancy particle cloud designed by Brent | 1498 | // fancy particle cloud designed by Brent |
1499 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_PER_SL_ACCOUNT, "cloud.xml"); | ||
1500 | if(!gDirUtilp->fileExists(filename)) | ||
1501 | { | ||
1502 | filename = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "cloud.xml"); | ||
1503 | } | ||
1504 | if(!gDirUtilp->fileExists(filename)) | ||
1505 | { | ||
1506 | filename = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "cloud.xml"); | ||
1507 | } | ||
1499 | 1508 | ||
1500 | std::string filename = gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "cloud.xml"); | ||
1501 | LLSD cloud; | 1509 | LLSD cloud; |
1502 | llifstream in_file(filename); | 1510 | llifstream in_file(filename); |
1503 | LLSDSerialize::fromXMLDocument(cloud, in_file); | 1511 | LLSDSerialize::fromXMLDocument(cloud, in_file); |