diff options
author | McCabe Maxsted | 2010-08-30 15:58:47 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-30 15:58:47 -0700 |
commit | cc4e1096e8b264c962be3e0be0bdeb8bd61d660f (patch) | |
tree | a00b9da7ae9b94befd1ab874c6b100bb5aba6727 /linden/indra/newview/llstartup.cpp | |
parent | Moved LLInventoryPanel::buildNewViews called with objectp->mType behind LL_DE... (diff) | |
download | meta-impy-cc4e1096e8b264c962be3e0be0bdeb8bd61d660f.zip meta-impy-cc4e1096e8b264c962be3e0be0bdeb8bd61d660f.tar.gz meta-impy-cc4e1096e8b264c962be3e0be0bdeb8bd61d660f.tar.bz2 meta-impy-cc4e1096e8b264c962be3e0be0bdeb8bd61d660f.tar.xz |
Added debug setting UseLegacyChatLogsFolder for saving chat.txt and IM logs in non-grid-specific folders
Diffstat (limited to 'linden/indra/newview/llstartup.cpp')
-rw-r--r-- | linden/indra/newview/llstartup.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llstartup.cpp b/linden/indra/newview/llstartup.cpp index 0464e99..301e67c 100644 --- a/linden/indra/newview/llstartup.cpp +++ b/linden/indra/newview/llstartup.cpp | |||
@@ -936,7 +936,14 @@ bool idle_startup() | |||
936 | gDirUtilp->setChatLogsDir(gSavedPerAccountSettings.getString("InstantMessageLogPath")); | 936 | gDirUtilp->setChatLogsDir(gSavedPerAccountSettings.getString("InstantMessageLogPath")); |
937 | } | 937 | } |
938 | 938 | ||
939 | gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getCurrentGridNick(), firstname, lastname); | 939 | if (gSavedSettings.getBOOL("UseLegacyChatLogsFolder")) |
940 | { | ||
941 | gDirUtilp->setPerAccountChatLogsDir(LLStringUtil::null, firstname, lastname); | ||
942 | } | ||
943 | else | ||
944 | { | ||
945 | gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getCurrentGridNick(), firstname, lastname); | ||
946 | } | ||
940 | 947 | ||
941 | LLFile::mkdir(gDirUtilp->getChatLogsDir()); | 948 | LLFile::mkdir(gDirUtilp->getChatLogsDir()); |
942 | LLFile::mkdir(gDirUtilp->getPerAccountChatLogsDir()); | 949 | LLFile::mkdir(gDirUtilp->getPerAccountChatLogsDir()); |