SH-3231 FIX Process new texture fetch url from login.cgi
- Added a new global setting (non-persist) to store the texture request URL - New setting is 'AgentAppearanceServiceURL'meow-7.2.2
parent
99c1c64aa4
commit
fbbde138c4
|
|
@ -71,6 +71,17 @@
|
|||
<key>Value</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>AgentAppearanceServiceURL</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Current Session Agent Appearance Service URL</string>
|
||||
<key>Persist</key>
|
||||
<integer>0</integer>
|
||||
<key>Type</key>
|
||||
<string>String</string>
|
||||
<key>Value</key>
|
||||
<string></string>
|
||||
</map>
|
||||
<key>AlertedUnsupportedHardware</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
|
|
|||
|
|
@ -3442,6 +3442,14 @@ bool process_login_success_response()
|
|||
|
||||
}
|
||||
|
||||
// set the location of the Agent Appearance service, from which we can request
|
||||
// avatar baked textures if they are supported by the current region
|
||||
std::string agent_appearance_url = response["agent_appearance_service"];
|
||||
if (!agent_appearance_url.empty())
|
||||
{
|
||||
gSavedSettings.setString("AgentAppearanceServiceURL", agent_appearance_url);
|
||||
}
|
||||
|
||||
// Set the location of the snapshot sharing config endpoint
|
||||
std::string snapshot_config_url = response["snapshot_config_url"];
|
||||
if(!snapshot_config_url.empty())
|
||||
|
|
|
|||
Loading…
Reference in New Issue