aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-07-03 23:19:11 +0100
committerJustin Clark-Casey (justincc)2012-07-03 23:19:11 +0100
commit8183c2926d563aa15cfc53f624353e1779061721 (patch)
treedc6a70ec0bd5228a9de7055442f06964d7a8b2f1 /OpenSim/Region
parentFix issue in database tests where sogs being stored are not in a scene. (diff)
downloadopensim-SC-8183c2926d563aa15cfc53f624353e1779061721.zip
opensim-SC-8183c2926d563aa15cfc53f624353e1779061721.tar.gz
opensim-SC-8183c2926d563aa15cfc53f624353e1779061721.tar.bz2
opensim-SC-8183c2926d563aa15cfc53f624353e1779061721.tar.xz
minor: Add some method doc to HasGroupChanged and Schedule GroupForFull/PartUpdate() to indicate when region modules need to invoke them
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs23
1 files changed, 21 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 1e900a0..96cc376 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -108,6 +108,15 @@ namespace OpenSim.Region.Framework.Scenes
108 private long timeFirstChanged; 108 private long timeFirstChanged;
109 private long timeLastChanged; 109 private long timeLastChanged;
110 110
111 /// <summary>
112 /// This indicates whether the object has changed such that it needs to be repersisted to permenant storage
113 /// (the database).
114 /// </summary>
115 /// <remarks>
116 /// Ultimately, this should be managed such that region modules can change it at the end of a set of operations
117 /// so that either all changes are preserved or none at all. However, currently, a large amount of internal
118 /// code will set this anyway when some object properties are changed.
119 /// </remarks>
111 public bool HasGroupChanged 120 public bool HasGroupChanged
112 { 121 {
113 set 122 set
@@ -1817,8 +1826,13 @@ namespace OpenSim.Region.Framework.Scenes
1817 } 1826 }
1818 1827
1819 /// <summary> 1828 /// <summary>
1820 /// Schedule a full update for this scene object 1829 /// Schedule a full update for this scene object to all interested viewers.
1821 /// </summary> 1830 /// </summary>
1831 /// <remarks>
1832 /// Ultimately, this should be managed such that region modules can invoke it at the end of a set of operations
1833 /// so that either all changes are sent at once. However, currently, a large amount of internal
1834 /// code will set this anyway when some object properties are changed.
1835 /// </remarks>
1822 public void ScheduleGroupForFullUpdate() 1836 public void ScheduleGroupForFullUpdate()
1823 { 1837 {
1824// if (IsAttachment) 1838// if (IsAttachment)
@@ -1837,8 +1851,13 @@ namespace OpenSim.Region.Framework.Scenes
1837 } 1851 }
1838 1852
1839 /// <summary> 1853 /// <summary>
1840 /// Schedule a terse update for this scene object 1854 /// Schedule a terse update for this scene object to all interested viewers.
1841 /// </summary> 1855 /// </summary>
1856 /// <remarks>
1857 /// Ultimately, this should be managed such that region modules can invoke it at the end of a set of operations
1858 /// so that either all changes are sent at once. However, currently, a large amount of internal
1859 /// code will set this anyway when some object properties are changed.
1860 /// </remarks>
1842 public void ScheduleGroupForTerseUpdate() 1861 public void ScheduleGroupForTerseUpdate()
1843 { 1862 {
1844// m_log.DebugFormat("[SOG]: Scheduling terse update for {0} {1}", Name, UUID); 1863// m_log.DebugFormat("[SOG]: Scheduling terse update for {0} {1}", Name, UUID);