Set AgentAppearanceServiceURL properly on login (fixes misplaced })
This commit is contained in:
@@ -4174,13 +4174,14 @@ bool process_login_success_response(std::string& password, U32& first_sim_size_x
|
|||||||
gCloudTextureID = id;
|
gCloudTextureID = id;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
// 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"];
|
// set the location of the Agent Appearance service, from which we can request
|
||||||
if (!agent_appearance_url.empty())
|
// avatar baked textures if they are supported by the current region
|
||||||
{
|
std::string agent_appearance_url = response["agent_appearance_service"];
|
||||||
gSavedSettings.setString("AgentAppearanceServiceURL", agent_appearance_url);
|
if (!agent_appearance_url.empty())
|
||||||
}
|
{
|
||||||
|
gSavedSettings.setString("AgentAppearanceServiceURL", agent_appearance_url);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Override grid info with anything sent in the login response
|
// Override grid info with anything sent in the login response
|
||||||
|
|||||||
Reference in New Issue
Block a user