diff options
author | Justin Clark-Casey (justincc) | 2012-03-29 00:21:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-29 00:21:14 +0100 |
commit | 964cae4f37120db34d0d3e2f08ab998215237dfd (patch) | |
tree | e79607cc06cebccfd510fcd7f73e9417734dd2eb /OpenSim | |
parent | Simplify friends caching by only doing this for root agents - no functions re... (diff) | |
download | opensim-SC_OLD-964cae4f37120db34d0d3e2f08ab998215237dfd.zip opensim-SC_OLD-964cae4f37120db34d0d3e2f08ab998215237dfd.tar.gz opensim-SC_OLD-964cae4f37120db34d0d3e2f08ab998215237dfd.tar.bz2 opensim-SC_OLD-964cae4f37120db34d0d3e2f08ab998215237dfd.tar.xz |
Add comment about setting client.SceneAgent in AddNewClient()
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 60fe48f..44cd30a 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2670,7 +2670,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2670 | sp.IsChildAgent ? "child" : "root", sp.Name, RegionInfo.RegionName); | 2670 | sp.IsChildAgent ? "child" : "root", sp.Name, RegionInfo.RegionName); |
2671 | } | 2671 | } |
2672 | 2672 | ||
2673 | // We must set this here so that TriggerOnNewClient and TriggerOnClientLogin can determine whether the | ||
2674 | // client is for a root or child agent. | ||
2673 | client.SceneAgent = sp; | 2675 | client.SceneAgent = sp; |
2676 | |||
2674 | m_LastLogin = Util.EnvironmentTickCount(); | 2677 | m_LastLogin = Util.EnvironmentTickCount(); |
2675 | 2678 | ||
2676 | // Cache the user's name | 2679 | // Cache the user's name |