diff options
Diffstat (limited to 'linden/indra/newview/llappviewer.cpp')
-rw-r--r-- | linden/indra/newview/llappviewer.cpp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp index 5fd5575..243a9d8 100644 --- a/linden/indra/newview/llappviewer.cpp +++ b/linden/indra/newview/llappviewer.cpp | |||
@@ -580,7 +580,7 @@ bool LLAppViewer::init() | |||
580 | 580 | ||
581 | // Need to do this initialization before we do anything else, since anything | 581 | // Need to do this initialization before we do anything else, since anything |
582 | // that touches files should really go through the lldir API | 582 | // that touches files should really go through the lldir API |
583 | gDirUtilp->initAppDirs("SecondLife"); | 583 | gDirUtilp->initAppDirs(IMP_VIEWER_NAME); |
584 | // set skin search path to default, will be overridden later | 584 | // set skin search path to default, will be overridden later |
585 | // this allows simple skinned file lookups to work | 585 | // this allows simple skinned file lookups to work |
586 | gDirUtilp->setSkinFolder("default"); | 586 | gDirUtilp->setSkinFolder("default"); |
@@ -1604,11 +1604,6 @@ bool LLAppViewer::initConfiguration() | |||
1604 | 1604 | ||
1605 | gSavedSettings.setString("VersionChannelName", IMP_VIEWER_NAME); | 1605 | gSavedSettings.setString("VersionChannelName", IMP_VIEWER_NAME); |
1606 | 1606 | ||
1607 | #ifndef LL_RELEASE_FOR_DOWNLOAD | ||
1608 | gSavedSettings.setBOOL("ShowConsoleWindow", TRUE); | ||
1609 | gSavedSettings.setBOOL("AllowMultipleViewers", TRUE); | ||
1610 | #endif | ||
1611 | |||
1612 | #if !LL_DYNAMIC_FONT_DISCOVERY | 1607 | #if !LL_DYNAMIC_FONT_DISCOVERY |
1613 | // static font discovery - user settings can override. | 1608 | // static font discovery - user settings can override. |
1614 | gSavedSettings.setString("FontSansSerifFallback", | 1609 | gSavedSettings.setString("FontSansSerifFallback", |
@@ -2688,7 +2683,7 @@ bool LLAppViewer::initCache() | |||
2688 | std::string cache_dir = gDirUtilp->getOSUserAppDir(); | 2683 | std::string cache_dir = gDirUtilp->getOSUserAppDir(); |
2689 | std::string new_cache_dir = gDirUtilp->getOSCacheDir(); | 2684 | std::string new_cache_dir = gDirUtilp->getOSCacheDir(); |
2690 | cache_dir = cache_dir + "/cache"; | 2685 | cache_dir = cache_dir + "/cache"; |
2691 | new_cache_dir = new_cache_dir + "/SecondLife"; | 2686 | new_cache_dir = new_cache_dir + "/" + gSecondLife; |
2692 | if (gDirUtilp->fileExists(cache_dir)) | 2687 | if (gDirUtilp->fileExists(cache_dir)) |
2693 | { | 2688 | { |
2694 | gDirUtilp->setCacheDir(cache_dir); | 2689 | gDirUtilp->setCacheDir(cache_dir); |