diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index b4a50373a..4a6463bfd 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -4174,13 +4174,14 @@ bool process_login_success_response(std::string& password, U32& first_sim_size_x gCloudTextureID = id; } #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"]; - if (!agent_appearance_url.empty()) - { - gSavedSettings.setString("AgentAppearanceServiceURL", agent_appearance_url); - } + } + + // 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); } // Override grid info with anything sent in the login response