Permalink
Browse files

Set AgentAppearanceServiceURL properly on login (fixes misplaced })

  • Loading branch information...
Lirusaito committed Jun 12, 2016
1 parent a41ce2d commit 563f252dc168b57d980736d7960098869e590ce7
Showing with 8 additions and 7 deletions.
  1. +8 −7 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

0 comments on commit 563f252

Please sign in to comment.