diff options
author | UbitUmarov | 2016-08-04 18:21:16 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-04 18:21:16 +0100 |
commit | 4f17078b07e968ea9d3567f45aacbba421f4ecc4 (patch) | |
tree | 97a246cc1cee027d43dddab42bd2eda5eab5889e /OpenSim | |
parent | do friends recaching on MakeRoot for normal tps, delay it on crossings (diff) | |
download | opensim-SC-4f17078b07e968ea9d3567f45aacbba421f4ecc4.zip opensim-SC-4f17078b07e968ea9d3567f45aacbba421f4ecc4.tar.gz opensim-SC-4f17078b07e968ea9d3567f45aacbba421f4ecc4.tar.bz2 opensim-SC-4f17078b07e968ea9d3567f45aacbba421f4ecc4.tar.xz |
add a weak safeguard
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 695754b..c55d904 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2199,9 +2199,17 @@ namespace OpenSim.Region.Framework.Scenes | |||
2199 | else | 2199 | else |
2200 | friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); | 2200 | friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); |
2201 | } | 2201 | } |
2202 | m_log.DebugFormat("[CompleteMovement] friendsModule: {0}ms", Util.EnvironmentTickCountSubtract(ts)); | 2202 | m_log.DebugFormat("[CompleteMovement] friendsModule: {0}ms", Util.EnvironmentTickCountSubtract(ts)); |
2203 | 2203 | ||
2204 | } | 2204 | } |
2205 | if(gotCrossUpdate) | ||
2206 | { | ||
2207 | // override group info with authorative data | ||
2208 | IGroupsModule gm = m_scene.RequestModuleInterface<IGroupsModule>(); | ||
2209 | if (gm != null) | ||
2210 | gm.SendAgentGroupDataUpdate(ControllingClient); | ||
2211 | m_log.DebugFormat("[CompleteMovement] delayed groups: {0}ms", Util.EnvironmentTickCountSubtract(ts)); | ||
2212 | } | ||
2205 | } | 2213 | } |
2206 | finally | 2214 | finally |
2207 | { | 2215 | { |