aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llappviewer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llappviewer.cpp')
-rw-r--r--linden/indra/newview/llappviewer.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/llappviewer.cpp b/linden/indra/newview/llappviewer.cpp
index b810abe..7d2dac8 100644
--- a/linden/indra/newview/llappviewer.cpp
+++ b/linden/indra/newview/llappviewer.cpp
@@ -652,6 +652,17 @@ bool LLAppViewer::init()
652 { 652 {
653 LLError::setPrintLocation(true); 653 LLError::setPrintLocation(true);
654 } 654 }
655
656 // ZWAGOTH: This resolves a bunch of skin updating problems and makes skinning
657 // SIGNIFICANLTLY easier. User colors > skin colors > default skin colors.
658 // This also will get rid of the Invalid control... spam when a skin doesn't have that color
659 // setting defined as long as we keep the default skin up to date. Maybe make invalid controls
660 // errors again?
661 std::string default_base_filename = gDirUtilp->getExpandedFilename(LL_PATH_SKINS,
662 "default",
663 "colors_base.xml");
664 LL_DEBUGS("InitInfo") << "Loading default base colors from " << default_base_filename << LL_ENDL;
665 gColors.loadFromFileLegacy(default_base_filename, FALSE, TYPE_COL4U);
655 666
656 // Load art UUID information, don't require these strings to be declared in code. 667 // Load art UUID information, don't require these strings to be declared in code.
657 std::string colors_base_filename = gDirUtilp->findSkinnedFilename("colors_base.xml"); 668 std::string colors_base_filename = gDirUtilp->findSkinnedFilename("colors_base.xml");