* 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.
This commit is contained in:
Teravus Ovares
2008-02-20 00:08:04 +00:00
parent ca78c3ef0d
commit 932a132116
4 changed files with 55 additions and 1 deletions

View File

@@ -1079,6 +1079,7 @@ namespace OpenSim.Region.Environment.Scenes
if (m_parentGroup != null)
{
m_parentGroup.HasGroupChanged = true;
m_parentGroup.QueueForUpdateCheck();
}
TimeStampFull = (uint) Util.UnixTimeSinceEpoch();
m_updateFlag = 2;
@@ -1120,9 +1121,11 @@ namespace OpenSim.Region.Environment.Scenes
if (m_parentGroup != null)
{
m_parentGroup.HasGroupChanged = true;
m_parentGroup.QueueForUpdateCheck();
}
TimeStampTerse = (uint) Util.UnixTimeSinceEpoch();
m_updateFlag = 1;
}
}