diff options
author | Justin Clark-Casey (justincc) | 2012-03-29 01:08:47 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-29 01:08:47 +0100 |
commit | 93ac47f0d3968650bd7758ad0981e8e5d49b8138 (patch) | |
tree | de296d7d41d9094365b6d17b6bc9cb98e6d7396c /OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server | |
parent | Revert "Add comment about setting client.SceneAgent in AddNewClient()" (diff) | |
download | opensim-SC-93ac47f0d3968650bd7758ad0981e8e5d49b8138.zip opensim-SC-93ac47f0d3968650bd7758ad0981e8e5d49b8138.tar.gz opensim-SC-93ac47f0d3968650bd7758ad0981e8e5d49b8138.tar.bz2 opensim-SC-93ac47f0d3968650bd7758ad0981e8e5d49b8138.tar.xz |
Revert "Simplify friends caching by only doing this for root agents - no functions require caching for child agents."
We need to cache child agents so that friends object edit/delete permissions will work across boarders on regions hosted by different simulators.
This reverts commit d9f7b8549b3cb9699eb8bd54242d31aac0f8241a.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server')
-rw-r--r-- | OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs index 43548e6..5cf478a 100644 --- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs +++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs | |||
@@ -55,7 +55,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
55 | 55 | ||
56 | private UUID m_agentID = UUID.Random(); | 56 | private UUID m_agentID = UUID.Random(); |
57 | 57 | ||
58 | public ISceneAgent SceneAgent { get; set; } | 58 | public ISceneAgent SceneAgent { get; private set; } |
59 | 59 | ||
60 | private string m_username; | 60 | private string m_username; |
61 | private string m_nick; | 61 | private string m_nick; |
@@ -895,7 +895,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server | |||
895 | 895 | ||
896 | public void Start() | 896 | public void Start() |
897 | { | 897 | { |
898 | m_scene.AddNewClient(this, PresenceType.User); | 898 | SceneAgent = m_scene.AddNewClient(this, PresenceType.User); |
899 | 899 | ||
900 | // Mimicking LLClientView which gets always set appearance from client. | 900 | // Mimicking LLClientView which gets always set appearance from client. |
901 | AvatarAppearance appearance; | 901 | AvatarAppearance appearance; |