diff options
author | Teravus Ovares | 2008-02-20 00:08:04 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-02-20 00:08:04 +0000 |
commit | 932a1321167814ab13a21121a9b9a8bf2eca1641 (patch) | |
tree | 94de5092a91d5461eab216942ea205b0a6620eb2 /OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |
parent | Doc correction (diff) | |
download | opensim-SC-932a1321167814ab13a21121a9b9a8bf2eca1641.zip opensim-SC-932a1321167814ab13a21121a9b9a8bf2eca1641.tar.gz opensim-SC-932a1321167814ab13a21121a9b9a8bf2eca1641.tar.bz2 opensim-SC-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 '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index 519858b..91b9a61 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -765,6 +765,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
765 | } | 765 | } |
766 | } | 766 | } |
767 | 767 | ||
768 | public void QueueForUpdateCheck() | ||
769 | { | ||
770 | m_scene.m_innerScene.AddToUpdateList(this); | ||
771 | } | ||
772 | |||
768 | /// <summary> | 773 | /// <summary> |
769 | /// | 774 | /// |
770 | /// </summary> | 775 | /// </summary> |