Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2025-03-20 21:10:48



Reply to topic  [ 3 posts ] 
Custom colors_base.xml not working 
Author Message

Joined: 2011-09-27 11:18:31
Posts: 220
Reply with quote
Hello!

Since the subfolder skins was renamed to cvlv-skins, using a custom colors_base.xml file, put in ~/.secondlife/cvlv-skins/custom, doesn't work. I thought something had changed in the file's format, but it hasn't, instead I see that the "custom" option in the viewer's skin preferences is greyed out. However, if I link cvlv-skins to skins, then it does work. Perhaps you forgot to update something?

Thanks!

EDIT: I'm adding my own file, so you can test.


Attachments:
colors_base-jimmy.tar.gz [4.1 KiB]
Downloaded 397 times
2024-12-16 11:30:11
Profile

Joined: 2009-03-17 18:42:51
Posts: 5940
Reply with quote
Good catch.

It's due to a missing change in LLDir::hasSkin(). If you compile the viewer yourself, you can change the latter (in linden/indra/llfilesystem/lldir.cpp, lines 288+) to read:
Code:
bool LLDir::hasSkin(const char* skin_folder) const
{
   std::string colors = LL_DIR_DELIM_STR;
   colors.append(skin_folder);
   colors.append(LL_DIR_DELIM_STR "colors_base.xml");
   return LLFile::exists(mAppRODataDir + LL_DIR_DELIM_STR "skins" + colors) ||
         LLFile::exists(mOSUserAppDir + LL_DIR_DELIM_STR "cvlv-skins" +
                    colors);
}

Fixed for next release.

As a workaround, in the mean time, and since this is just a test issue, you can add an empty "skins/custom/colors_base.xml" file (i.e. in the old path) to "fool" the viewer.


2024-12-16 11:47:31
Profile WWW

Joined: 2011-09-27 11:18:31
Posts: 220
Reply with quote
Thanks! You're the best!


2024-12-16 11:51:46
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.