From 4f17078b07e968ea9d3567f45aacbba421f4ecc4 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 4 Aug 2016 18:21:16 +0100 Subject: add a weak safeguard --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region') 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 else friendsModule.SendFriendsOnlineIfNeeded(ControllingClient); } - m_log.DebugFormat("[CompleteMovement] friendsModule: {0}ms", Util.EnvironmentTickCountSubtract(ts)); + m_log.DebugFormat("[CompleteMovement] friendsModule: {0}ms", Util.EnvironmentTickCountSubtract(ts)); } + if(gotCrossUpdate) + { + // override group info with authorative data + IGroupsModule gm = m_scene.RequestModuleInterface(); + if (gm != null) + gm.SendAgentGroupDataUpdate(ControllingClient); + m_log.DebugFormat("[CompleteMovement] delayed groups: {0}ms", Util.EnvironmentTickCountSubtract(ts)); + } } finally { -- cgit v1.1