diff options
author | diva | 2009-01-30 23:23:02 +0000 |
---|---|---|
committer | diva | 2009-01-30 23:23:02 +0000 |
commit | 36221a2c19a468707c64d713c134dc8682c90482 (patch) | |
tree | 2ab941fac41afb6cf5471b4cb54e6af1c2290d7f | |
parent | * Put a wait timeout on the archive test, just in case the archiver never ret... (diff) | |
download | opensim-SC_OLD-36221a2c19a468707c64d713c134dc8682c90482.zip opensim-SC_OLD-36221a2c19a468707c64d713c134dc8682c90482.tar.gz opensim-SC_OLD-36221a2c19a468707c64d713c134dc8682c90482.tar.bz2 opensim-SC_OLD-36221a2c19a468707c64d713c134dc8682c90482.tar.xz |
Added a new method SendGroupRootUpdate to start addressing mantis #3019. ll functions have not been changed.
Diffstat (limited to '')
-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 |