diff options
Added a new method SendGroupRootUpdate to start addressing mantis #3019. ll functions have not been changed.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 14 |
1 files changed, 14 insertions, 0 deletions
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 | |||
1827 | } | 1827 | } |
1828 | } | 1828 | } |
1829 | 1829 | ||
1830 | /// <summary> | ||
1831 | /// Immediately send an update for this scene object's root prim only. | ||
1832 | /// This is for updates regarding the object as a whole, and none of its parts in particular. | ||
1833 | /// Note: this may not be cused by opensim (it probably should) but it's used by | ||
1834 | /// external modules. | ||
1835 | /// </summary> | ||
1836 | public void SendGroupRootUpdate() | ||
1837 | { | ||
1838 | if (IsDeleted) | ||
1839 | return; | ||
1840 | |||
1841 | RootPart.SendFullUpdateToAllClients(); | ||
1842 | } | ||
1843 | |||
1830 | public void QueueForUpdateCheck() | 1844 | public void QueueForUpdateCheck() |
1831 | { | 1845 | { |
1832 | if (m_scene == null) // Need to check here as it's null during object creation | 1846 | if (m_scene == null) // Need to check here as it's null during object creation |