diff options
author | Diva Canto | 2010-02-28 12:07:38 -0800 |
---|---|---|
committer | Diva Canto | 2010-02-28 12:07:38 -0800 |
commit | 5c5966545d14de43500b95109e8ce81058ebe2c3 (patch) | |
tree | 732f9f47668141b177a8f6e9e6e6d64aa0ee722d /OpenSim/Region/Framework/Scenes/ScenePresence.cs | |
parent | Friends connectors finished. Status notification working across the board. On... (diff) | |
download | opensim-SC_OLD-5c5966545d14de43500b95109e8ce81058ebe2c3.zip opensim-SC_OLD-5c5966545d14de43500b95109e8ce81058ebe2c3.tar.gz opensim-SC_OLD-5c5966545d14de43500b95109e8ce81058ebe2c3.tar.bz2 opensim-SC_OLD-5c5966545d14de43500b95109e8ce81058ebe2c3.tar.xz |
Initial Online friends notification seems to be working reliably now. All this needs more testing, but everything is there.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index af9afa6..f83a4d2 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1114,7 +1114,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1114 | /// This is called upon a very important packet sent from the client, | 1114 | /// This is called upon a very important packet sent from the client, |
1115 | /// so it's client-controlled. Never call this method directly. | 1115 | /// so it's client-controlled. Never call this method directly. |
1116 | /// </summary> | 1116 | /// </summary> |
1117 | public void CompleteMovement() | 1117 | public void CompleteMovement(IClientAPI client) |
1118 | { | 1118 | { |
1119 | //m_log.Debug("[SCENE PRESENCE]: CompleteMovement"); | 1119 | //m_log.Debug("[SCENE PRESENCE]: CompleteMovement"); |
1120 | 1120 | ||
@@ -1159,6 +1159,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1159 | m_agentTransfer.EnableChildAgents(this); | 1159 | m_agentTransfer.EnableChildAgents(this); |
1160 | else | 1160 | else |
1161 | m_log.DebugFormat("[SCENE PRESENCE]: Unable to create child agents in neighbours, because AgentTransferModule is not active"); | 1161 | m_log.DebugFormat("[SCENE PRESENCE]: Unable to create child agents in neighbours, because AgentTransferModule is not active"); |
1162 | |||
1163 | IFriendsModule friendsModule = m_scene.RequestModuleInterface<IFriendsModule>(); | ||
1164 | if (friendsModule != null) | ||
1165 | friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); | ||
1162 | } | 1166 | } |
1163 | 1167 | ||
1164 | } | 1168 | } |