Stop redundantly passing in the endpoint to the LLClientView constructor.

This can always be retrieved via the LLUDPClient and is so done in various places already.
This commit is contained in:
Justin Clark-Casey (justincc)
2012-07-12 23:48:42 +01:00
parent dda999a22c
commit d6f54b25cd
2 changed files with 2 additions and 5 deletions

View File

@@ -1103,7 +1103,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
{
LLUDPClient udpClient = new LLUDPClient(this, ThrottleRates, m_throttle, circuitCode, agentID, remoteEndPoint, m_defaultRTO, m_maxRTO);
client = new LLClientView(remoteEndPoint, m_scene, this, udpClient, sessionInfo, agentID, sessionID, circuitCode);
client = new LLClientView(m_scene, this, udpClient, sessionInfo, agentID, sessionID, circuitCode);
client.OnLogout += LogoutHandler;
((LLClientView)client).DisableFacelights = m_disableFacelights;