aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-20 00:08:04 +0000
committerTeravus Ovares2008-02-20 00:08:04 +0000
commit932a1321167814ab13a21121a9b9a8bf2eca1641 (patch)
tree94de5092a91d5461eab216942ea205b0a6620eb2 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentDoc correction (diff)
downloadopensim-SC_OLD-932a1321167814ab13a21121a9b9a8bf2eca1641.zip
opensim-SC_OLD-932a1321167814ab13a21121a9b9a8bf2eca1641.tar.gz
opensim-SC_OLD-932a1321167814ab13a21121a9b9a8bf2eca1641.tar.bz2
opensim-SC_OLD-932a1321167814ab13a21121a9b9a8bf2eca1641.tar.xz
* Made a quickupdate method to run through only entities that have scheduled themselves for updates looking for changes. This runs 10 times a second.
* Set the massively slow UpdateEntities method to run every 2 seconds instead of 10 times a second. This method runs through *all* of the entities can calls the virtual update(). * Documented some of the code in the scene.Update method.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index 00cabf8..a522380 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1079,6 +1079,7 @@ namespace OpenSim.Region.Environment.Scenes
1079 if (m_parentGroup != null) 1079 if (m_parentGroup != null)
1080 { 1080 {
1081 m_parentGroup.HasGroupChanged = true; 1081 m_parentGroup.HasGroupChanged = true;
1082 m_parentGroup.QueueForUpdateCheck();
1082 } 1083 }
1083 TimeStampFull = (uint) Util.UnixTimeSinceEpoch(); 1084 TimeStampFull = (uint) Util.UnixTimeSinceEpoch();
1084 m_updateFlag = 2; 1085 m_updateFlag = 2;
@@ -1120,9 +1121,11 @@ namespace OpenSim.Region.Environment.Scenes
1120 if (m_parentGroup != null) 1121 if (m_parentGroup != null)
1121 { 1122 {
1122 m_parentGroup.HasGroupChanged = true; 1123 m_parentGroup.HasGroupChanged = true;
1124 m_parentGroup.QueueForUpdateCheck();
1123 } 1125 }
1124 TimeStampTerse = (uint) Util.UnixTimeSinceEpoch(); 1126 TimeStampTerse = (uint) Util.UnixTimeSinceEpoch();
1125 m_updateFlag = 1; 1127 m_updateFlag = 1;
1128
1126 } 1129 }
1127 } 1130 }
1128 1131