diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index effa8d0..af68de6 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -390,6 +390,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
390 | } | 390 | } |
391 | } | 391 | } |
392 | public UUID AgentId { get { return m_agentId; } } | 392 | public UUID AgentId { get { return m_agentId; } } |
393 | public ISceneAgent SceneAgent { get; private set; } | ||
393 | public UUID ActiveGroupId { get { return m_activeGroupID; } } | 394 | public UUID ActiveGroupId { get { return m_activeGroupID; } } |
394 | public string ActiveGroupName { get { return m_activeGroupName; } } | 395 | public string ActiveGroupName { get { return m_activeGroupName; } } |
395 | public ulong ActiveGroupPowers { get { return m_activeGroupPowers; } } | 396 | public ulong ActiveGroupPowers { get { return m_activeGroupPowers; } } |
@@ -531,6 +532,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
531 | 532 | ||
532 | // Remove ourselves from the scene | 533 | // Remove ourselves from the scene |
533 | m_scene.RemoveClient(AgentId, true); | 534 | m_scene.RemoveClient(AgentId, true); |
535 | SceneAgent = null; | ||
534 | 536 | ||
535 | // We can't reach into other scenes and close the connection | 537 | // We can't reach into other scenes and close the connection |
536 | // We need to do this over grid communications | 538 | // We need to do this over grid communications |
@@ -710,7 +712,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
710 | 712 | ||
711 | public virtual void Start() | 713 | public virtual void Start() |
712 | { | 714 | { |
713 | m_scene.AddNewClient(this, PresenceType.User); | 715 | SceneAgent = m_scene.AddNewClient(this, PresenceType.User); |
714 | 716 | ||
715 | RefreshGroupMembership(); | 717 | RefreshGroupMembership(); |
716 | } | 718 | } |