From 36221a2c19a468707c64d713c134dc8682c90482 Mon Sep 17 00:00:00 2001 From: diva Date: Fri, 30 Jan 2009 23:23:02 +0000 Subject: Added a new method SendGroupRootUpdate to start addressing mantis #3019. ll functions have not been changed. --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index f6ebbc9..8a024b7 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -1827,6 +1827,20 @@ namespace OpenSim.Region.Environment.Scenes } } + /// + /// Immediately send an update for this scene object's root prim only. + /// This is for updates regarding the object as a whole, and none of its parts in particular. + /// Note: this may not be cused by opensim (it probably should) but it's used by + /// external modules. + /// + public void SendGroupRootUpdate() + { + if (IsDeleted) + return; + + RootPart.SendFullUpdateToAllClients(); + } + public void QueueForUpdateCheck() { if (m_scene == null) // Need to check here as it's null during object creation -- cgit v1.1