Merge remote-tracking branch 'siana/master'
This commit is contained in:
@@ -38,6 +38,7 @@ else (STANDALONE)
|
||||
if (LINUX)
|
||||
set(UI_LIBRARIES
|
||||
atk-1.0
|
||||
X11
|
||||
gdk-x11-2.0
|
||||
gdk_pixbuf-2.0
|
||||
Xinerama
|
||||
|
||||
@@ -67,6 +67,10 @@ elseif (LINUX)
|
||||
QtNetwork
|
||||
QtGui
|
||||
QtCore
|
||||
crypto
|
||||
ssl
|
||||
# qgif
|
||||
# qjpeg
|
||||
jscore
|
||||
jpeg
|
||||
fontconfig
|
||||
|
||||
@@ -646,7 +646,6 @@ set(viewer_HEADER_FILES
|
||||
lldrawpoolalpha.h
|
||||
lldrawpoolavatar.h
|
||||
lldrawpoolbump.h
|
||||
lldrawpoolclouds.h
|
||||
lldrawpoolground.h
|
||||
lldrawpoolsimple.h
|
||||
lldrawpoolsky.h
|
||||
|
||||
@@ -2,15 +2,16 @@
|
||||
<array>
|
||||
|
||||
<map>
|
||||
<key>default_grids_version</key><string>2</string>
|
||||
<key>default_grids_version</key><string>20</string>
|
||||
</map>
|
||||
|
||||
<!-- Second Life -->
|
||||
<map>
|
||||
<key>gridnick</key><string>secondlife</string>
|
||||
<key>gridname</key><string>Second Life</string>
|
||||
<key>platform</key><string>SecondLife</string>
|
||||
<key>loginuri</key><string>https://login.agni.lindenlab.com/cgi-bin/login.cgi</string>
|
||||
<key>loginpage</key><string>http://viewer-login.agni.lindenlab.com/</string>
|
||||
<key>loginpage</key><string>http://viewer-login.agni.lindenlab.com/</string>
|
||||
<key>helperuri</key><string>https://secondlife.com/helpers/</string>
|
||||
<key>website</key><string>http://secondlife.com/</string>
|
||||
<key>support</key><string>http://secondlife.com/support/</string>
|
||||
@@ -18,30 +19,34 @@
|
||||
<key>password</key><string>http://secondlife.com/account/request.php</string>
|
||||
<key>render_compat</key><boolean>1</boolean>
|
||||
<key>inventory_links</key><boolean>1</boolean>
|
||||
<key>auto_update</key><boolean>0</boolean>
|
||||
</map>
|
||||
|
||||
<map>
|
||||
<key>gridnick</key><string>secondlife_beta</string>
|
||||
<key>gridname</key><string>Second Life BETA</string>
|
||||
<key>helperuri</key><string>http://aditi-secondlife.webdev.lindenlab.com/helpers/</string>
|
||||
<key>loginpage</key><string>http://viewer-login.agni.lindenlab.com/</string>
|
||||
<key>loginpage</key><string>http://viewer-login.agni.lindenlab.com/</string>
|
||||
<key>loginuri</key><string>https://login.aditi.lindenlab.com/cgi-bin/login.cgi</string>
|
||||
<key>password</key><string>http://secondlife.com/account/request.php</string>
|
||||
<key>platform</key><string>SecondLife</string>
|
||||
<key>website</key><string>http://secondlife.com/</string>
|
||||
<key>support</key><string>http://secondlife.com/support/</string>
|
||||
<key>register</key><string>http://secondlife.com/registration/</string>
|
||||
<key>render_compat</key><boolean>0</boolean>
|
||||
<key>inventory_links</key><boolean>1</boolean>
|
||||
<key>support</key><string>http://secondlife.com/support/</string>
|
||||
<key>version</key><integer>0</integer>
|
||||
<key>website</key><string>http://secondlife.com/</string>
|
||||
<key>auto_update</key><boolean>0</boolean>
|
||||
</map>
|
||||
|
||||
|
||||
<!-- Local Host -->
|
||||
<map>
|
||||
<key>gridnick</key><string>local</string>
|
||||
<key>gridname</key><string>Local Host</string>
|
||||
<key>platform</key><string>OpenSim</string>
|
||||
<key>loginuri</key><string>http://127.0.0.1:9000/</string>
|
||||
<key>helperuri</key><string>http://127.0.0.1:9000/</string>
|
||||
<key>auto_update</key><boolean>0</boolean>
|
||||
</map>
|
||||
|
||||
</array>
|
||||
|
||||
@@ -8,6 +8,18 @@
|
||||
<string>settings_sh.xml</string>
|
||||
<string>settings_rlv.xml</string>
|
||||
</array>
|
||||
|
||||
<key>SianaRenderDeferredInvisiprim</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Support invisiprims in deferred mode</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
|
||||
<key>SGAbsolutePointer</key>
|
||||
<map>
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
<key>AscentAutoCloseOOC</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Auto-close OOC chat (i.e. add \"))\" if not found and \"((\" was used)</string>
|
||||
<string>Auto-close OOC chat (i.e. add "))" if not found and "((" was used)</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
@@ -150,7 +150,7 @@
|
||||
<key>AscentShowSelfTagColor</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Show your own tag</string>
|
||||
<string>Show your own tagcolor to yourself(instead of default linden viewer color).</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
@@ -293,7 +293,7 @@
|
||||
<key>AscentShowIdleTime</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Show client tags for others.</string>
|
||||
<string>Show idle time of others in tags.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
@@ -403,7 +403,7 @@
|
||||
<key>AscentBuildPrefs_PivotIsPercent</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Would you like the chatbar to be able to be used for command line functions?</string>
|
||||
<string>Pivot points are based on percentages</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
@@ -414,7 +414,7 @@
|
||||
<key>AscentBuildPrefs_PivotX</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>idfk</string>
|
||||
<string>Pivot point on X-axis for new objects</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
@@ -425,7 +425,7 @@
|
||||
<key>AscentBuildPrefs_PivotY</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>idfk</string>
|
||||
<string>Pivot point on Y-axis for new objects</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
@@ -436,7 +436,7 @@
|
||||
<key>AscentBuildPrefs_PivotZ</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>idfk</string>
|
||||
<string>Pivot point on Z-axis for new objects</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
|
||||
@@ -40,8 +40,9 @@ HippoGridInfo HippoGridInfo::FALLBACK_GRIDINFO("");
|
||||
// Initialize
|
||||
|
||||
HippoGridInfo::HippoGridInfo(const std::string& gridName) :
|
||||
mPlatform(PLATFORM_AURORA),
|
||||
mPlatform(PLATFORM_OPENSIM),
|
||||
mGridName(gridName),
|
||||
mGridNick(LLStringUtil::null),
|
||||
mLoginUri(LLStringUtil::null),
|
||||
mLoginPage(LLStringUtil::null),
|
||||
mHelperUri(LLStringUtil::null),
|
||||
@@ -50,14 +51,12 @@ HippoGridInfo::HippoGridInfo(const std::string& gridName) :
|
||||
mRegisterUrl(LLStringUtil::null),
|
||||
mPasswordUrl(LLStringUtil::null),
|
||||
mSearchUrl(LLStringUtil::null),
|
||||
mFirstName(LLStringUtil::null),
|
||||
mLastName(LLStringUtil::null),
|
||||
mAvatarPassword(LLStringUtil::null),
|
||||
mGridMessage(""),
|
||||
mXmlState(XML_VOID),
|
||||
mVoiceConnector("SLVoice"),
|
||||
mRenderCompat(true),
|
||||
mInvLinks(false),
|
||||
mAutoUpdate(false),
|
||||
mMaxAgentGroups(-1),
|
||||
mCurrencySymbol("OS$"),
|
||||
mRealCurrencySymbol("US$"),
|
||||
@@ -143,21 +142,6 @@ const std::string& HippoGridInfo::getGridMessage() const
|
||||
return mGridMessage;
|
||||
}
|
||||
|
||||
const std::string& HippoGridInfo::getFirstName() const
|
||||
{
|
||||
return mFirstName;
|
||||
}
|
||||
|
||||
const std::string& HippoGridInfo::getLastName() const
|
||||
{
|
||||
return mLastName;
|
||||
}
|
||||
|
||||
const std::string& HippoGridInfo::getAvatarPassword() const
|
||||
{
|
||||
return mAvatarPassword;
|
||||
}
|
||||
|
||||
bool HippoGridInfo::isRenderCompat() const
|
||||
{
|
||||
return mRenderCompat;
|
||||
@@ -215,7 +199,30 @@ void HippoGridInfo::setPlatform(const std::string& platform)
|
||||
|
||||
void HippoGridInfo::setGridName(const std::string& gridName)
|
||||
{
|
||||
HippoGridManager::GridIterator it;
|
||||
for(it = gHippoGridManager->beginGrid(); it != gHippoGridManager->endGrid(); ++it)
|
||||
{
|
||||
if (it->second == this)
|
||||
{
|
||||
gHippoGridManager->mGridInfo.erase(it);
|
||||
gHippoGridManager->mGridInfo[gridName] = this;
|
||||
break;
|
||||
}
|
||||
}
|
||||
mGridName = gridName;
|
||||
/*if(mGridNick.empty() && !gridName.empty())
|
||||
{
|
||||
setGridNick(gridName);
|
||||
}*/
|
||||
}
|
||||
|
||||
void HippoGridInfo::setGridNick(std::string gridNick)
|
||||
{
|
||||
mGridNick = sanitizeGridNick(gridNick);
|
||||
if(mGridName.empty() && !gridNick.empty())
|
||||
{
|
||||
setGridName(gridNick);
|
||||
}
|
||||
}
|
||||
|
||||
void HippoGridInfo::setLoginUri(const std::string& loginUri)
|
||||
@@ -265,21 +272,6 @@ void HippoGridInfo::setGridMessage(const std::string& message)
|
||||
mGridMessage = message;
|
||||
}
|
||||
|
||||
void HippoGridInfo::setFirstName(const std::string& firstName)
|
||||
{
|
||||
mFirstName = firstName;
|
||||
}
|
||||
|
||||
void HippoGridInfo::setLastName(const std::string& lastName)
|
||||
{
|
||||
mLastName = lastName;
|
||||
}
|
||||
|
||||
void HippoGridInfo::setAvatarPassword(const std::string& avatarPassword)
|
||||
{
|
||||
mAvatarPassword = avatarPassword;
|
||||
}
|
||||
|
||||
void HippoGridInfo::setRenderCompat(bool compat)
|
||||
{
|
||||
mRenderCompat = compat;
|
||||
@@ -376,25 +368,25 @@ std::string HippoGridInfo::getSearchUrl(SearchType ty, bool is_web) const
|
||||
}
|
||||
else
|
||||
{
|
||||
// Use the old search all
|
||||
if (ty == SEARCH_ALL_EMPTY)
|
||||
// Use the old search all
|
||||
if (ty == SEARCH_ALL_EMPTY)
|
||||
{
|
||||
return (mSearchUrl + "panel=All&");
|
||||
}
|
||||
return (mSearchUrl + "panel=All&");
|
||||
}
|
||||
else if (ty == SEARCH_ALL_QUERY)
|
||||
{
|
||||
return (mSearchUrl + "q=[QUERY]&s=[COLLECTION]&");
|
||||
}
|
||||
return (mSearchUrl + "q=[QUERY]&s=[COLLECTION]&");
|
||||
}
|
||||
else if (ty == SEARCH_ALL_TEMPLATE)
|
||||
{
|
||||
return "lang=[LANG]&m=[MATURITY]&t=[TEEN]®ion=[REGION]&x=[X]&y=[Y]&z=[Z]&session=[SESSION]";
|
||||
}
|
||||
return "lang=[LANG]&m=[MATURITY]&t=[TEEN]®ion=[REGION]&x=[X]&y=[Y]&z=[Z]&session=[SESSION]";
|
||||
}
|
||||
else
|
||||
{
|
||||
llinfos << "Illegal search URL type " << ty << llendl;
|
||||
return "";
|
||||
}
|
||||
}
|
||||
llinfos << "Illegal search URL type " << ty << llendl;
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -402,7 +394,9 @@ std::string HippoGridInfo::getSearchUrl(SearchType ty, bool is_web) const
|
||||
void HippoGridInfo::onXmlElementStart(void* userData, const XML_Char* name, const XML_Char** atts)
|
||||
{
|
||||
HippoGridInfo* self = (HippoGridInfo*)userData;
|
||||
if (strcasecmp(name, "gridname") == 0)
|
||||
if (strcasecmp(name, "gridnick") == 0)
|
||||
self->mXmlState = XML_GRIDNICK;
|
||||
else if (strcasecmp(name, "gridname") == 0)
|
||||
self->mXmlState = XML_GRIDNAME;
|
||||
else if (strcasecmp(name, "platform") == 0)
|
||||
self->mXmlState = XML_PLATFORM;
|
||||
@@ -439,28 +433,35 @@ void HippoGridInfo::onXmlCharacterData(void* userData, const XML_Char* s, int le
|
||||
HippoGridInfo* self = (HippoGridInfo*)userData;
|
||||
switch (self->mXmlState)
|
||||
{
|
||||
case XML_PLATFORM:
|
||||
case XML_GRIDNICK:
|
||||
{
|
||||
if (self->mGridNick == "") self->mGridNick.assign(s, len);
|
||||
self->mGridNick = sanitizeGridNick(self->mGridNick);
|
||||
break;
|
||||
}
|
||||
|
||||
case XML_PLATFORM:
|
||||
{
|
||||
std::string platform(s, len);
|
||||
self->setPlatform(platform);
|
||||
break;
|
||||
}
|
||||
|
||||
case XML_LOGINURI:
|
||||
case XML_LOGINURI:
|
||||
{
|
||||
std::string loginuri(s, len);
|
||||
self->mLoginUri = sanitizeUri( loginuri );
|
||||
break;
|
||||
}
|
||||
|
||||
case XML_HELPERURI:
|
||||
case XML_HELPERURI:
|
||||
{
|
||||
std::string helperuri(s, len);
|
||||
self->mHelperUri = sanitizeUri( helperuri );
|
||||
break;
|
||||
}
|
||||
|
||||
case XML_SEARCH:
|
||||
case XML_SEARCH:
|
||||
{
|
||||
self->mSearchUrl.assign(s, len);
|
||||
//sanitizeQueryUrl(mSearchUrl);
|
||||
@@ -547,6 +548,41 @@ void HippoGridInfo::formatFee(std::string &fee, int cost, bool showFree) const
|
||||
}
|
||||
}
|
||||
|
||||
//static
|
||||
std::string HippoGridInfo::sanitizeGridNick(std::string &gridnick)
|
||||
{
|
||||
std::string tmp;
|
||||
int size = gridnick.size();
|
||||
for (int i=0; i<size; i++)
|
||||
{
|
||||
char c = gridnick[i];
|
||||
if ((c == '_') || isalnum(c))
|
||||
{
|
||||
tmp += tolower(c);
|
||||
}
|
||||
else if (isspace(c))
|
||||
{
|
||||
tmp += "_";
|
||||
}
|
||||
}
|
||||
if(tmp.length() > 16) {
|
||||
tmp.resize(16);
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
|
||||
|
||||
std::string HippoGridInfo::getGridNick()
|
||||
{
|
||||
if(!mGridNick.empty())
|
||||
{
|
||||
return mGridNick;
|
||||
}
|
||||
else
|
||||
{
|
||||
return sanitizeGridNick(mGridName);
|
||||
}
|
||||
}
|
||||
|
||||
// ********************************************************************
|
||||
// Static Helpers
|
||||
@@ -589,14 +625,16 @@ void HippoGridInfo::initFallback()
|
||||
FALLBACK_GRIDINFO.setHelperUri("http://127.0.0.1:9000/");
|
||||
}
|
||||
|
||||
bool HippoGridInfo::supportsInvLinks(){
|
||||
bool HippoGridInfo::supportsInvLinks()
|
||||
{
|
||||
if(isSecondLife())
|
||||
return true;
|
||||
else
|
||||
return mInvLinks;
|
||||
}
|
||||
|
||||
void HippoGridInfo::setSupportsInvLinks(bool b) {
|
||||
void HippoGridInfo::setSupportsInvLinks(bool b)
|
||||
{
|
||||
if (b == true && mInvLinks == false)
|
||||
{
|
||||
llinfos << "Inventory Link support detected" << llendl;
|
||||
@@ -604,6 +642,19 @@ void HippoGridInfo::setSupportsInvLinks(bool b) {
|
||||
mInvLinks = b;
|
||||
}
|
||||
|
||||
bool HippoGridInfo::getAutoUpdate()
|
||||
{
|
||||
if(isSecondLife())
|
||||
return false;
|
||||
else
|
||||
return mAutoUpdate;
|
||||
}
|
||||
|
||||
void HippoGridInfo::setAutoUpdate(bool b)
|
||||
{
|
||||
mAutoUpdate = b;
|
||||
}
|
||||
|
||||
// ********************************************************************
|
||||
// ********************************************************************
|
||||
// HippoGridManager
|
||||
@@ -615,8 +666,8 @@ void HippoGridInfo::setSupportsInvLinks(bool b) {
|
||||
// Initialize
|
||||
|
||||
HippoGridManager::HippoGridManager() :
|
||||
mConnectedGrid(0),
|
||||
mDefaultGridsVersion(0),
|
||||
mConnectedGrid(0),
|
||||
mDefaultGridsVersion(0),
|
||||
mCurrentGrid("Local Host"),
|
||||
mDefaultGrid("Local Host")
|
||||
{
|
||||
@@ -759,13 +810,13 @@ void HippoGridManager::setDefaultGrid(const std::string& grid)
|
||||
{
|
||||
mDefaultGrid = grid;
|
||||
}
|
||||
else if (mGridInfo.find("secondlife") != mGridInfo.end())
|
||||
else if (mGridInfo.find("Second life") != mGridInfo.end())
|
||||
{
|
||||
mDefaultGrid = "secondlife";
|
||||
mDefaultGrid = "Second Life";
|
||||
}
|
||||
else if (!mGridInfo.empty())
|
||||
{
|
||||
mDefaultGrid = mGridInfo.begin()->first;
|
||||
mDefaultGrid = mGridInfo.begin()->first;
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -784,7 +835,7 @@ void HippoGridManager::setCurrentGrid(const std::string& grid)
|
||||
else if (!mGridInfo.empty())
|
||||
{
|
||||
llwarns << "Unknown grid '" << grid << "'. Setting to default grid." << llendl;
|
||||
mCurrentGrid = mDefaultGrid;
|
||||
mCurrentGrid = mDefaultGrid;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -796,7 +847,7 @@ void HippoGridManager::loadFromFile()
|
||||
{
|
||||
mDefaultGridsVersion = 0;
|
||||
// load user grid info
|
||||
parseFile(gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "grids_sg2.xml"), false);
|
||||
parseFile(gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "grids_sg1.xml"), false);
|
||||
// merge default grid info, if newer. Force load, if list of grids is empty.
|
||||
parseFile(gDirUtilp->getExpandedFilename(LL_PATH_APP_SETTINGS, "default_grids.xml"), !mGridInfo.empty());
|
||||
// merge grid info from web site, if newer. Force load, if list of grids is empty.
|
||||
@@ -886,14 +937,32 @@ void HippoGridManager::parseData(LLSD &gridInfo, bool mergeIfNewer)
|
||||
{
|
||||
mDefaultGridsVersion = gridMap["default_grids_version"];
|
||||
}
|
||||
else if (gridMap.has("gridname") && gridMap.has("loginuri"))
|
||||
else if ((gridMap.has("gridnick") || gridMap.has("gridname")) && gridMap.has("loginuri"))
|
||||
{
|
||||
std::string gridnick = gridMap["gridnick"];
|
||||
std::string gridname = gridMap["gridname"];
|
||||
|
||||
HippoGridInfo* grid;
|
||||
GridIterator it = mGridInfo.find(gridname);
|
||||
bool newGrid = (it == mGridInfo.end());
|
||||
if (newGrid)
|
||||
GridIterator it = mGridInfo.end();
|
||||
for (it = mGridInfo.begin(); it != mGridInfo.end(); ++it)
|
||||
{
|
||||
if(!gridnick.empty() && (it->second->getGridNick() == gridnick))
|
||||
{
|
||||
break;
|
||||
}
|
||||
if(gridnick.empty() && !gridname.empty() && (it->first == gridname))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
bool newGrid = (it == mGridInfo.end());
|
||||
if (newGrid || !it->second)
|
||||
{
|
||||
if(gridname.empty())
|
||||
{
|
||||
gridname = gridnick;
|
||||
}
|
||||
// create new grid info
|
||||
grid = new HippoGridInfo(gridname);
|
||||
}
|
||||
@@ -905,6 +974,7 @@ void HippoGridManager::parseData(LLSD &gridInfo, bool mergeIfNewer)
|
||||
grid->setLoginUri(gridMap["loginuri"]);
|
||||
if (gridMap.has("platform")) grid->setPlatform(gridMap["platform"]);
|
||||
if (gridMap.has("gridname")) grid->setGridName(gridMap["gridname"]);
|
||||
if (gridMap.has("gridnick")) grid->setGridNick(gridMap["gridnick"]);
|
||||
if (gridMap.has("loginpage")) grid->setLoginPage(gridMap["loginpage"]);
|
||||
if (gridMap.has("helperuri")) grid->setHelperUri(gridMap["helperuri"]);
|
||||
if (gridMap.has("website")) grid->setWebSite(gridMap["website"]);
|
||||
@@ -913,10 +983,8 @@ void HippoGridManager::parseData(LLSD &gridInfo, bool mergeIfNewer)
|
||||
if (gridMap.has("password")) grid->setPasswordUrl(gridMap["password"]);
|
||||
if (gridMap.has("search")) grid->setSearchUrl(gridMap["search"]);
|
||||
if (gridMap.has("render_compat")) grid->setRenderCompat(gridMap["render_compat"]);
|
||||
if (gridMap.has("inventory_links")) grid->setSupportsInvLinks(gridMap["inventory_links"]);
|
||||
// if (gridMap.has("firstname")) grid->setFirstName(gridMap["firstname"]);
|
||||
// if (gridMap.has("lastname")) grid->setLastName(gridMap["lastname"]);
|
||||
// if (gridMap.has("avatarpassword")) grid->setAvatarPassword(gridMap["avatarpassword"]);
|
||||
if (gridMap.has("inventory_links")) grid->setSupportsInvLinks(gridMap["inventory_links"]);
|
||||
if (gridMap.has("auto_update")) grid->setAutoUpdate(gridMap["auto_update"]);
|
||||
if (newGrid) addGrid(grid);
|
||||
}
|
||||
}
|
||||
@@ -939,6 +1007,7 @@ void HippoGridManager::saveFile()
|
||||
{
|
||||
HippoGridInfo* grid = it->second;
|
||||
gridInfo[i]["platform"] = HippoGridInfo::getPlatformString(grid->getPlatform());
|
||||
gridInfo[i]["gridnick"] = grid->getGridNick();
|
||||
gridInfo[i]["gridname"] = grid->getGridName();
|
||||
gridInfo[i]["loginuri"] = grid->getLoginUri();
|
||||
gridInfo[i]["loginpage"] = grid->getLoginPage();
|
||||
@@ -947,17 +1016,15 @@ void HippoGridManager::saveFile()
|
||||
gridInfo[i]["support"] = grid->getSupportUrl();
|
||||
gridInfo[i]["register"] = grid->getRegisterUrl();
|
||||
gridInfo[i]["password"] = grid->getPasswordUrl();
|
||||
// gridInfo[i]["firstname"] = grid->getFirstName();
|
||||
// gridInfo[i]["lastname"] = grid->getLastName();
|
||||
// gridInfo[i]["avatarpassword"] = grid->getAvatarPassword();
|
||||
|
||||
gridInfo[i]["search"] = grid->getSearchUrl();
|
||||
gridInfo[i]["render_compat"] = grid->isRenderCompat();
|
||||
gridInfo[i]["inventory_links"] = grid->supportsInvLinks();
|
||||
gridInfo[i]["auto_update"] = grid->getAutoUpdate();
|
||||
}
|
||||
|
||||
// write client grid info file
|
||||
std::string fileName = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "grids_sg2.xml");
|
||||
std::string fileName = gDirUtilp->getExpandedFilename(LL_PATH_USER_SETTINGS, "grids_sg1.xml");
|
||||
llofstream file;
|
||||
file.open(fileName.c_str());
|
||||
if (file.is_open())
|
||||
|
||||
@@ -51,12 +51,10 @@ public:
|
||||
// Returns the url base used for the Web Search tab
|
||||
const std::string& getSearchUrl() const;
|
||||
const std::string& getGridMessage() const;
|
||||
const std::string& getFirstName() const;
|
||||
const std::string& getLastName() const;
|
||||
const std::string& getAvatarPassword() const;
|
||||
const std::string& getVoiceConnector() const { return mVoiceConnector; }
|
||||
std::string getSearchUrl(SearchType ty, bool is_web) const;
|
||||
bool isRenderCompat() const;
|
||||
std::string getGridNick();
|
||||
int getMaxAgentGroups() const { return mMaxAgentGroups; }
|
||||
|
||||
const std::string& getCurrencySymbol() const;
|
||||
@@ -67,6 +65,7 @@ public:
|
||||
|
||||
void setPlatform (const std::string& platform);
|
||||
void setPlatform (Platform platform);
|
||||
void setGridNick (std::string gridNick);
|
||||
void setGridName (const std::string& gridName);
|
||||
void setLoginUri (const std::string& loginUri);
|
||||
void setLoginPage(const std::string& loginPage);
|
||||
@@ -80,9 +79,6 @@ public:
|
||||
void setGridMessage(const std::string& message);
|
||||
void setRenderCompat(bool compat);
|
||||
void setMaxAgentGroups(int max) { mMaxAgentGroups = max; }
|
||||
void setFirstName(const std::string& firstName);
|
||||
void setLastName(const std::string& lastName);
|
||||
void setAvatarPassword(const std::string& avatarPassword);
|
||||
void setVoiceConnector(const std::string& vc) { mVoiceConnector = vc; }
|
||||
|
||||
void setCurrencySymbol(const std::string& sym);
|
||||
@@ -90,10 +86,13 @@ public:
|
||||
void setDirectoryFee(int fee);
|
||||
bool supportsInvLinks();
|
||||
void setSupportsInvLinks(bool b);
|
||||
bool getAutoUpdate();
|
||||
void setAutoUpdate(bool b);
|
||||
|
||||
bool retrieveGridInfo();
|
||||
|
||||
static const char* getPlatformString(Platform platform);
|
||||
static std::string sanitizeGridNick(std::string &gridnick);
|
||||
|
||||
static HippoGridInfo FALLBACK_GRIDINFO;
|
||||
static void initFallback();
|
||||
@@ -101,6 +100,7 @@ public:
|
||||
private:
|
||||
Platform mPlatform;
|
||||
std::string mGridName;
|
||||
std::string mGridNick;
|
||||
std::string mLoginUri;
|
||||
std::string mLoginPage;
|
||||
std::string mHelperUri;
|
||||
@@ -110,11 +110,9 @@ private:
|
||||
std::string mPasswordUrl;
|
||||
std::string mSearchUrl;
|
||||
std::string mVoiceConnector;
|
||||
std::string mFirstName;
|
||||
std::string mLastName;
|
||||
std::string mAvatarPassword;
|
||||
bool mRenderCompat;
|
||||
bool mInvLinks;
|
||||
bool mAutoUpdate;
|
||||
int mMaxAgentGroups;
|
||||
|
||||
std::string mCurrencySymbol;
|
||||
@@ -125,7 +123,7 @@ private:
|
||||
// for parsing grid info XML
|
||||
enum XmlState
|
||||
{
|
||||
XML_VOID, XML_PLATFORM, XML_GRIDNAME,
|
||||
XML_VOID, XML_PLATFORM, XML_GRIDNAME, XML_GRIDNICK,
|
||||
XML_LOGINURI, XML_LOGINPAGE, XML_HELPERURI,
|
||||
XML_WEBSITE, XML_SUPPORT, XML_REGISTER, XML_PASSWORD, XML_SEARCH, XML_MESSAGE
|
||||
};
|
||||
@@ -168,6 +166,7 @@ public:
|
||||
GridIterator endGrid() { return mGridInfo.end(); }
|
||||
|
||||
private:
|
||||
friend class HippoGridInfo;
|
||||
std::map<std::string, HippoGridInfo*> mGridInfo;
|
||||
std::string mDefaultGrid;
|
||||
std::string mCurrentGrid;
|
||||
|
||||
@@ -295,14 +295,21 @@ bool HippoPanelGridsImpl::saveCurGrid()
|
||||
HippoGridInfo *gridInfo = 0;
|
||||
|
||||
gridInfo = gHippoGridManager->getGrid(mCurGrid);
|
||||
gridInfo->retrieveGridInfo();
|
||||
//gridInfo->retrieveGridInfo();
|
||||
refresh();
|
||||
|
||||
|
||||
std::string gridname = childGetValue("gridname");
|
||||
if (gridname == "<required>") gridname = "";
|
||||
std::string loginuri = childGetValue("loginuri");
|
||||
if (loginuri == "<required>") loginuri = "";
|
||||
|
||||
if (gridname.empty() && !loginuri.empty())
|
||||
this->retrieveGridInfo();
|
||||
|
||||
if ((mState == ADD_NEW) || (mState == ADD_COPY)) {
|
||||
|
||||
// check nickname
|
||||
std::string gridname = childGetValue("gridname");
|
||||
if (gridname == "<required>") gridname = "";
|
||||
childSetValue("gridname", (gridname != "")? gridname: "<required>");
|
||||
if (gridname == "") {
|
||||
LLNotificationsUtil::add("GridsNoNick");
|
||||
@@ -316,8 +323,7 @@ bool HippoPanelGridsImpl::saveCurGrid()
|
||||
}
|
||||
|
||||
// check login URI
|
||||
std::string loginuri = childGetValue("loginuri");
|
||||
if ((loginuri == "") || (loginuri == "<required>")) {
|
||||
if (loginuri == "") {
|
||||
LLSD args;
|
||||
args["NAME"] = gridname;
|
||||
LLNotificationsUtil::add("GridsNoLoginUri", args);
|
||||
@@ -329,11 +335,6 @@ bool HippoPanelGridsImpl::saveCurGrid()
|
||||
gridInfo = new HippoGridInfo(gridname);
|
||||
gHippoGridManager->addGrid(gridInfo);
|
||||
gridInfo->retrieveGridInfo();
|
||||
} else {
|
||||
|
||||
llwarns << "Illegal state " << mState << '.' << llendl;
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
if (!gridInfo) {
|
||||
|
||||
@@ -41,7 +41,6 @@
|
||||
#include "lldrawpoolalpha.h"
|
||||
#include "lldrawpoolavatar.h"
|
||||
#include "lldrawpoolbump.h"
|
||||
#include "lldrawpoolclouds.h"
|
||||
#include "lldrawpoolground.h"
|
||||
#include "lldrawpoolsimple.h"
|
||||
#include "lldrawpoolsky.h"
|
||||
|
||||
@@ -1589,7 +1589,11 @@ void LLDrawPoolInvisible::endDeferredPass( S32 pass )
|
||||
|
||||
void LLDrawPoolInvisible::renderDeferred( S32 pass )
|
||||
{ //render invisiprims; this doesn't work becaue it also blocks all the post-deferred stuff
|
||||
#if 0
|
||||
static const LLCachedControl<bool> enable("SianaRenderDeferredInvisiprim");
|
||||
if (!enable) {
|
||||
return;
|
||||
}
|
||||
|
||||
LLFastTimer t(FTM_RENDER_INVISIBLE);
|
||||
|
||||
U32 invisi_mask = LLVertexBuffer::MAP_VERTEX;
|
||||
@@ -1607,5 +1611,4 @@ void LLDrawPoolInvisible::renderDeferred( S32 pass )
|
||||
renderShiny(true);
|
||||
endShiny(true);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -1,103 +0,0 @@
|
||||
/**
|
||||
* @file lldrawpoolclouds.cpp
|
||||
* @brief LLDrawPoolClouds class implementation
|
||||
*
|
||||
* $LicenseInfo:firstyear=2006&license=viewergpl$
|
||||
*
|
||||
* Copyright (c) 2006-2009, Linden Research, Inc.
|
||||
*
|
||||
* Second Life Viewer Source Code
|
||||
* The source code in this file ("Source Code") is provided by Linden Lab
|
||||
* to you under the terms of the GNU General Public License, version 2.0
|
||||
* ("GPL"), unless you have obtained a separate licensing agreement
|
||||
* ("Other License"), formally executed by you and Linden Lab. Terms of
|
||||
* the GPL can be found in doc/GPL-license.txt in this distribution, or
|
||||
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
|
||||
*
|
||||
* There are special exceptions to the terms and conditions of the GPL as
|
||||
* it is applied to this Source Code. View the full text of the exception
|
||||
* in the file doc/FLOSS-exception.txt in this software distribution, or
|
||||
* online at
|
||||
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
|
||||
*
|
||||
* By copying, modifying or distributing this software, you acknowledge
|
||||
* that you have read and understood your obligations described above,
|
||||
* and agree to abide by those obligations.
|
||||
*
|
||||
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
|
||||
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
|
||||
* COMPLETENESS OR PERFORMANCE.
|
||||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
#include "llviewerprecompiledheaders.h"
|
||||
|
||||
#include "lldrawpoolclouds.h"
|
||||
|
||||
#include "llface.h"
|
||||
#include "llsky.h"
|
||||
#include "llviewercamera.h"
|
||||
#include "llvoclouds.h"
|
||||
#include "pipeline.h"
|
||||
|
||||
LLDrawPoolClouds::LLDrawPoolClouds() :
|
||||
LLDrawPool(POOL_CLOUDS)
|
||||
{
|
||||
}
|
||||
|
||||
LLDrawPool *LLDrawPoolClouds::instancePool()
|
||||
{
|
||||
return new LLDrawPoolClouds();
|
||||
}
|
||||
|
||||
BOOL LLDrawPoolClouds::addFace(LLFace* face)
|
||||
{
|
||||
llerrs << "WTF?" << llendl;
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void LLDrawPoolClouds::enqueue(LLFace *facep)
|
||||
{
|
||||
mDrawFace.push_back(facep);
|
||||
facep->mDistance = (facep->mCenterAgent - gCamera->getOrigin()) * gCamera->getAtAxis();
|
||||
}
|
||||
|
||||
void LLDrawPoolClouds::beginRenderPass(S32 pass)
|
||||
{
|
||||
glEnableClientState(GL_VERTEX_ARRAY);
|
||||
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||
glEnableClientState(GL_NORMAL_ARRAY);
|
||||
}
|
||||
|
||||
void LLDrawPoolClouds::prerender()
|
||||
{
|
||||
mVertexShaderLevel = gPipeline.getVertexShaderLevel(LLPipeline::SHADER_ENVIRONMENT);
|
||||
}
|
||||
|
||||
void LLDrawPoolClouds::render(S32 pass)
|
||||
{
|
||||
LLFastTimer ftm(FTM_RENDER_CLOUDS);
|
||||
if (!(gPipeline.hasRenderType(LLPipeline::RENDER_TYPE_CLOUDS)))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
if (mDrawFace.empty())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
LLGLSPipelineAlpha gls_pipeline_alpha;
|
||||
LLGLDepthTest gls_depth(GL_TRUE, GL_FALSE);
|
||||
glAlphaFunc(GL_GREATER,0.01f);
|
||||
|
||||
gPipeline.enableLightsFullbright(LLColor4(1.f,1.f,1.f));
|
||||
|
||||
mDrawFace[0]->bindTexture();
|
||||
|
||||
std::sort(mDrawFace.begin(), mDrawFace.end(), LLFace::CompareDistanceGreater());
|
||||
|
||||
drawLoop();
|
||||
}
|
||||
|
||||
|
||||
@@ -1,60 +0,0 @@
|
||||
/**
|
||||
* @file lldrawpoolclouds.h
|
||||
* @brief LLDrawPoolClouds class definition
|
||||
*
|
||||
* $LicenseInfo:firstyear=2006&license=viewergpl$
|
||||
*
|
||||
* Copyright (c) 2006-2009, Linden Research, Inc.
|
||||
*
|
||||
* Second Life Viewer Source Code
|
||||
* The source code in this file ("Source Code") is provided by Linden Lab
|
||||
* to you under the terms of the GNU General Public License, version 2.0
|
||||
* ("GPL"), unless you have obtained a separate licensing agreement
|
||||
* ("Other License"), formally executed by you and Linden Lab. Terms of
|
||||
* the GPL can be found in doc/GPL-license.txt in this distribution, or
|
||||
* online at http://secondlifegrid.net/programs/open_source/licensing/gplv2
|
||||
*
|
||||
* There are special exceptions to the terms and conditions of the GPL as
|
||||
* it is applied to this Source Code. View the full text of the exception
|
||||
* in the file doc/FLOSS-exception.txt in this software distribution, or
|
||||
* online at
|
||||
* http://secondlifegrid.net/programs/open_source/licensing/flossexception
|
||||
*
|
||||
* By copying, modifying or distributing this software, you acknowledge
|
||||
* that you have read and understood your obligations described above,
|
||||
* and agree to abide by those obligations.
|
||||
*
|
||||
* ALL LINDEN LAB SOURCE CODE IS PROVIDED "AS IS." LINDEN LAB MAKES NO
|
||||
* WARRANTIES, EXPRESS, IMPLIED OR OTHERWISE, REGARDING ITS ACCURACY,
|
||||
* COMPLETENESS OR PERFORMANCE.
|
||||
* $/LicenseInfo$
|
||||
*/
|
||||
|
||||
#ifndef LL_LLDRAWPOOLCLOUDS_H
|
||||
#define LL_LLDRAWPOOLCLOUDS_H
|
||||
|
||||
#include "lldrawpool.h"
|
||||
|
||||
class LLDrawPoolClouds : public LLDrawPool
|
||||
{
|
||||
public:
|
||||
enum
|
||||
{
|
||||
VERTEX_DATA_MASK = LLVertexBuffer::MAP_VERTEX |
|
||||
LLVertexBuffer::MAP_NORMAL |
|
||||
LLVertexBuffer::MAP_TEXCOORD0
|
||||
};
|
||||
|
||||
BOOL addFace(LLFace* face);
|
||||
virtual U32 getVertexDataMask() { return VERTEX_DATA_MASK; }
|
||||
|
||||
LLDrawPoolClouds();
|
||||
|
||||
/*virtual*/ void prerender();
|
||||
/*virtual*/ LLDrawPool *instancePool();
|
||||
/*virtual*/ void enqueue(LLFace *face);
|
||||
/*virtual*/ void beginRenderPass(S32 pass);
|
||||
/*virtual*/ void render(S32 pass = 0);
|
||||
};
|
||||
|
||||
#endif // LL_LLDRAWPOOLSKY_H
|
||||
@@ -861,7 +861,7 @@ void LLPanelLogin::updateGridCombo()
|
||||
}
|
||||
HippoGridManager::GridIterator it, end = gHippoGridManager->endGrid();
|
||||
for (it = gHippoGridManager->beginGrid(); it != end; ++it) {
|
||||
const std::string &grid = it->second->getGridName();
|
||||
std::string grid = it->second->getGridName();
|
||||
if (grid != defaultGrid) {
|
||||
grids->add(grid);
|
||||
if (grid == currentGrid) selectIndex = i;
|
||||
@@ -959,7 +959,10 @@ void LLPanelLogin::loadLoginPage()
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (gHippoGridManager->getConnectedGrid()->isOpenSimulator()){
|
||||
oStr << "&grid=" << gHippoGridManager->getConnectedGrid()->getGridNick();
|
||||
}
|
||||
else if (gHippoGridManager->getConnectedGrid()->getPlatform() == HippoGridInfo::PLATFORM_AURORA)
|
||||
{
|
||||
oStr << "&grid=" << LLWeb::curlEscape(LLViewerLogin::getInstance()->getGridLabel());
|
||||
}
|
||||
|
||||
@@ -198,7 +198,7 @@ void LLPrefsIMImpl::apply()
|
||||
}
|
||||
else
|
||||
{
|
||||
gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getCurrentGridNick(),
|
||||
gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getConnectedGrid()->getGridNick(),
|
||||
gSavedSettings.getString("FirstName"), gSavedSettings.getString("LastName") );
|
||||
}
|
||||
|
||||
|
||||
@@ -1019,7 +1019,7 @@ bool idle_startup()
|
||||
}
|
||||
else
|
||||
{
|
||||
gDirUtilp->setLindenUserDir(gHippoGridManager->getCurrentGridNick(), firstname, lastname);
|
||||
gDirUtilp->setLindenUserDir(gHippoGridManager->getConnectedGrid()->getGridNick(), firstname, lastname);
|
||||
}
|
||||
LLFile::mkdir(gDirUtilp->getLindenUserDir());
|
||||
|
||||
@@ -1059,7 +1059,7 @@ bool idle_startup()
|
||||
}
|
||||
else
|
||||
{
|
||||
gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getCurrentGridNick(),
|
||||
gDirUtilp->setPerAccountChatLogsDir(gHippoGridManager->getConnectedGrid()->getGridNick(),
|
||||
gSavedSettings.getString("FirstName"), gSavedSettings.getString("LastName") );
|
||||
}
|
||||
LLFile::mkdir(gDirUtilp->getChatLogsDir());
|
||||
|
||||
@@ -369,7 +369,7 @@ private:
|
||||
void removeFromQuickLookup( LLDrawPool* poolp );
|
||||
BOOL updateDrawableGeom(LLDrawable* drawable, BOOL priority);
|
||||
void assertInitializedDoError();
|
||||
bool assertInitialized() { const bool is_init = isInit(); if (!is_init) assertInitializedDoError(); return is_init; };
|
||||
bool assertInitialized() { const bool is_init = isInit(); if (!is_init) assertInitializedDoError(); return is_init; }
|
||||
|
||||
public:
|
||||
enum {GPU_CLASS_MAX = 3 };
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<llsd>
|
||||
<map>
|
||||
<key>skin_name</key>
|
||||
<string>Default</string>
|
||||
<string>Classic</string>
|
||||
<key>author_name</key>
|
||||
<string>Linden Lab</string>
|
||||
<key>additional_author_names</key>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="70, 170, 255, 255" />
|
||||
<NotifyTextColor value="0, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255" />
|
||||
<GroupNotifyTextColor value="0, 30, 60, 255" />
|
||||
@@ -195,7 +195,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="147, 169, 213, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="255, 174, 70, 255" />
|
||||
<NotifyTextColor value="0, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="255, 179, 70, 255" />
|
||||
<GroupNotifyTextColor value="0, 30, 60, 255" />
|
||||
@@ -195,7 +195,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="215, 200, 150, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="66, 66, 66, 255"/>
|
||||
<NotifyTextColor value="200, 200, 200, 255"/>
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255"/> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255"/>
|
||||
<GroupNotifyTextColor value="0, 0, 0 255" />
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="0, 0, 0, 220" />
|
||||
<NotifyTextColor value="255, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="189, 0, 0, 240" />
|
||||
<GroupNotifyTextColor value="1, 0, 0, 255" />
|
||||
@@ -192,7 +192,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="0, 0, 0, 245"/>
|
||||
<AlertTextColor value="228, 0, 0, 255"/>
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255"/> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -195,7 +195,6 @@
|
||||
<ConsoleBackground value="0, 0, 0, 255" />
|
||||
<FolderViewLoadingMessageTextColor value="240, 165, 90, 255"/> <!-- "loading..." in the inv -->
|
||||
<InventoryBackgroundColor value="62, 62, 62, 80"/>
|
||||
<SHMediaTickerOscillatorColor value ="0, 0, 0, 191"/>
|
||||
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
rect_control="PreviewScriptRect" title="Script: Rotation Script"
|
||||
width="500">
|
||||
<panel bottom="-550" enabled="true" follows="left|top|right|bottom" height="508"
|
||||
left="0" mouse_opaque="true" name="script panel" width="497" />
|
||||
left="1" name="script panel" width="497" border_thickness="0"/>
|
||||
<icon bottom="-19" color="1 1 1 1" enabled="true" follows="top|right" height="16"
|
||||
image_name="icon_lock.tga" left="444" mouse_opaque="true" name="lock"
|
||||
width="16" />
|
||||
|
||||
@@ -324,7 +324,7 @@
|
||||
<on_check function="FloaterVisible" userdata="mute list" />
|
||||
</menu_item_check>
|
||||
<menu_item_check bottom="189" enabled="true" height="19" label="Teleport History" left="0"
|
||||
mouse_opaque="true" name="Teleport History" shortcut="" width="211">
|
||||
mouse_opaque="true" name="Teleport History" shortcut="alt|H" width="211">
|
||||
<on_click function="ShowFloater" userdata="teleport history" />
|
||||
<on_check function="FloaterVisible" userdata="teleport history" />
|
||||
</menu_item_check>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
|
||||
<line_editor bevel_style="none" border_style="line" border_thickness="0" border_drop_shadow_visible="false" bottom="-16"
|
||||
commit_on_focus_lost="false" enabled="true" follows="right|bottom"
|
||||
font="SansSerifSmall" handle_edit_keys_directly="false" height="11"
|
||||
font="SansSerifSmall" handle_edit_keys_directly="false" height="13"
|
||||
label="Search" left="-94" max_length="254" mouse_opaque="true"
|
||||
name="search_editor" select_all_on_focus_received="false"
|
||||
select_on_focus="false" tab_group="1" tool_tip="Search Second Life"
|
||||
|
||||
@@ -194,7 +194,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="0, 0, 0, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="91, 187, 83, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="66, 66, 66, 255" />
|
||||
<NotifyTextColor value="255, 255, 255, 128" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="66, 66, 66, 255" />
|
||||
<GroupNotifyTextColor value="255, 255, 255, 128" />
|
||||
@@ -196,7 +196,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="33, 33, 33, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="128, 128, 128, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="189, 0, 0, 240" />
|
||||
<NotifyTextColor value="1, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="189, 0, 0, 240" />
|
||||
<GroupNotifyTextColor value="1, 0, 0, 255" />
|
||||
@@ -193,7 +193,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="227, 0, 0, 245"/>
|
||||
<AlertTextColor value="1, 0, 0, 255"/>
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255"/> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -87,7 +87,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="166, 166, 166, 255"/>
|
||||
<NotifyTextColor value="0, 0, 0, 255"/>
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255"/> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255"/>
|
||||
<GroupNotifyTextColor value="0, 0, 0 255" />
|
||||
@@ -181,4 +181,4 @@
|
||||
<MultiSliderThumbCenterSelectedColor value="50, 50, 255, 255"/>
|
||||
<MultiSliderTriangleColor value="50, 255, 255, 255"/>
|
||||
|
||||
</settings>
|
||||
</settings>
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="70, 170, 255, 255" />
|
||||
<NotifyTextColor value="0, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255" />
|
||||
<GroupNotifyTextColor value="0, 30, 60, 255" />
|
||||
@@ -188,7 +188,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="147, 169, 213, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="70, 170, 255, 255" />
|
||||
<NotifyTextColor value="0, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255" />
|
||||
<GroupNotifyTextColor value="0, 30, 60, 255" />
|
||||
@@ -188,7 +188,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="147, 169, 213, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="152, 160, 160, 255"/>
|
||||
<NotifyTextColor value="0, 0, 0, 255"/>
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255"/>
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255"/>
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255"/>
|
||||
<FocusBackgroundColor value="176, 184, 184, 255"/>
|
||||
<GroupNotifyBoxColor value="255, 170, 70, 255"/>
|
||||
@@ -182,7 +182,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="176, 184, 184, 255"/>
|
||||
<AlertTextColor value="0, 0, 0, 255"/>
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255"/> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="70, 170, 255, 255" />
|
||||
<NotifyTextColor value="0, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255" />
|
||||
<GroupNotifyTextColor value="0, 30, 60, 255" />
|
||||
@@ -176,7 +176,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="147, 169, 213, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="66, 66, 66, 255"/>
|
||||
<NotifyTextColor value="200, 200, 200, 255"/>
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255"/> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255"/>
|
||||
<GroupNotifyTextColor value="0, 0, 0 255" />
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="66, 66, 66, 255"/>
|
||||
<NotifyTextColor value="200, 200, 200, 255"/>
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255"/> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255"/>
|
||||
<GroupNotifyTextColor value="0, 0, 0 255" />
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="0, 0, 0, 220" />
|
||||
<NotifyTextColor value="255, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="189, 0, 0, 240" />
|
||||
<GroupNotifyTextColor value="1, 0, 0, 255" />
|
||||
@@ -192,7 +192,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="0, 0, 0, 245"/>
|
||||
<AlertTextColor value="228, 0, 0, 255"/>
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255"/> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -96,7 +96,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="66, 66, 66, 255"/>
|
||||
<NotifyTextColor value="200, 200, 200, 255"/>
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255"/> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255"/> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 170, 255, 255"/>
|
||||
<GroupNotifyTextColor value="0, 0, 0 255" />
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="170, 210, 255, 240" />
|
||||
<NotifyTextColor value="0, 30, 60, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="170, 210, 255, 240" />
|
||||
<GroupNotifyTextColor value="0, 30, 60, 255" />
|
||||
@@ -199,7 +199,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="165, 180, 200, 245"/>
|
||||
<AlertTextColor value="0, 30, 60, 255"/>
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255"/> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255"/> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
@@ -99,7 +99,7 @@
|
||||
<!-- NOTIFICATION POP-UPS -->
|
||||
<NotifyBoxColor value="70, 70, 70, 155" />
|
||||
<NotifyTextColor value="0, 0, 0, 255" />
|
||||
<NotifyCautionBoxColor value="254, 209, 118, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionBoxColor value="0, 0, 0, 255" /> <!-- the background color of caution permissions prompts -->
|
||||
<NotifyCautionWarnColor value="0, 0, 0, 255" /> <!-- the foreground color of the special title text in caution permissions prompts -->
|
||||
<GroupNotifyBoxColor value="70, 70, 70, 255" />
|
||||
<GroupNotifyTextColor value="0, 30, 60, 255" />
|
||||
@@ -191,7 +191,7 @@
|
||||
<!-- Alert box colors -->
|
||||
<AlertBoxColor value="62, 62, 62, 255" /> <!-- Warnings floaters, like when returning objects -->
|
||||
<AlertTextColor value="147, 169, 213, 255" />
|
||||
<AlertCautionBoxColor value="254, 209, 118, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionBoxColor value="0, 0, 0, 255" /> <!-- Background color of caution alerts -->
|
||||
<AlertCautionTextColor value="0, 0, 0, 255" /> <!-- Foreground color of the special title text in caution alerts -->
|
||||
|
||||
<!-- Multi sliders, as in the sky animation setting -->
|
||||
|
||||
Reference in New Issue
Block a user