From 563f252dc168b57d980736d7960098869e590ce7 Mon Sep 17 00:00:00 2001 From: Lirusaito Date: Sat, 11 Jun 2016 21:06:25 -0400 Subject: [PATCH] Set AgentAppearanceServiceURL properly on login (fixes misplaced }) --- indra/newview/llstartup.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) 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