Solve Issue 521: Web profile support
Adds a checkbox "Use web profiles instead of legacy v1 profiles" to System->General preferences Adds a button "Web Profile" to the first life tab of legacy profiles (only available on grids that provide a web profile url) When connecting to an OSGrid, always set the WebProfileURL setting to whatever is in web_profile_url, this way we know if web profiles are not supported. Borrowed translations of the preference checkbox from Firestorm, translators may want to tweak Translators may want to update panel_avatar.xml as it now has a web profile button, and contents have shifted slightly.
This commit is contained in:
@@ -224,6 +224,7 @@ void LLPrefsAscentSys::refreshValues()
|
||||
mEnableClassicClouds = gSavedSettings.getBOOL("SkyUseClassicClouds");
|
||||
mSpeedRez = gSavedSettings.getBOOL("SpeedRez");
|
||||
mSpeedRezInterval = gSavedSettings.getU32("SpeedRezInterval");
|
||||
mUseWebProfiles = gSavedSettings.getBOOL("UseWebProfiles");
|
||||
|
||||
//Command Line ------------------------------------------------------------------------
|
||||
mCmdLine = gSavedSettings.getBOOL("AscentCmdLine");
|
||||
@@ -374,6 +375,7 @@ void LLPrefsAscentSys::cancel()
|
||||
gSavedSettings.setBOOL("SkyUseClassicClouds", mEnableClassicClouds);
|
||||
gSavedSettings.setBOOL("SpeedRez", mSpeedRez);
|
||||
gSavedSettings.setU32("SpeedRezInterval", mSpeedRezInterval);
|
||||
gSavedSettings.setBOOL("UseWebProfiles", mUseWebProfiles);
|
||||
|
||||
//Command Line ------------------------------------------------------------------------
|
||||
gSavedSettings.setBOOL("AscentCmdLine", mCmdLine);
|
||||
|
||||
Reference in New Issue
Block a user