diff options
author | Melanie | 2009-10-27 20:28:12 +0000 |
---|---|---|
committer | Melanie | 2009-10-27 20:28:12 +0000 |
commit | 0d37883bfdb1c8e15187f63f170765c7909a6650 (patch) | |
tree | 25a5d722292d038d1ca314199b29efed54aed426 /OpenSim/Region/Framework | |
parent | Merge branch 'master' into vehicles (diff) | |
parent | Remove the rest of SECS. It was never used, except by an experimental version (diff) | |
download | opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.zip opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.gz opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.bz2 opensim-SC-0d37883bfdb1c8e15187f63f170765c7909a6650.tar.xz |
Merge branch 'master' into vehicles
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 42051d0..7c3875d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -282,9 +282,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
282 | 282 | ||
283 | private UpdatePrioritizationSchemes m_update_prioritization_scheme = UpdatePrioritizationSchemes.Time; | 283 | private UpdatePrioritizationSchemes m_update_prioritization_scheme = UpdatePrioritizationSchemes.Time; |
284 | private bool m_reprioritization_enabled = true; | 284 | private bool m_reprioritization_enabled = true; |
285 | private double m_reprioritization_interval = 2000.0; | 285 | private double m_reprioritization_interval = 5000.0; |
286 | private double m_root_reprioritization_distance = 5.0; | 286 | private double m_root_reprioritization_distance = 10.0; |
287 | private double m_child_reprioritization_distance = 10.0; | 287 | private double m_child_reprioritization_distance = 20.0; |
288 | 288 | ||
289 | private object m_deleting_scene_object = new object(); | 289 | private object m_deleting_scene_object = new object(); |
290 | 290 | ||
@@ -4264,6 +4264,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
4264 | // FIXME: Asynchronous iteration is disabled until we have a threading model that | 4264 | // FIXME: Asynchronous iteration is disabled until we have a threading model that |
4265 | // can support calling this function from an async packet handler without | 4265 | // can support calling this function from an async packet handler without |
4266 | // potentially deadlocking | 4266 | // potentially deadlocking |
4267 | m_clientManager.ForEachSync(action); | ||
4268 | |||
4267 | //if (doAsynchronous) | 4269 | //if (doAsynchronous) |
4268 | // m_clientManager.ForEach(action); | 4270 | // m_clientManager.ForEach(action); |
4269 | //else | 4271 | //else |
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index 70f3112..9b11582 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -2394,7 +2394,7 @@ if (m_shape != null) { | |||
2394 | public void SendScheduledUpdates() | 2394 | public void SendScheduledUpdates() |
2395 | { | 2395 | { |
2396 | const float VELOCITY_TOLERANCE = 0.01f; | 2396 | const float VELOCITY_TOLERANCE = 0.01f; |
2397 | const float POSITION_TOLERANCE = 10.0f; | 2397 | const float POSITION_TOLERANCE = 0.1f; |
2398 | 2398 | ||
2399 | if (m_updateFlag == 1) | 2399 | if (m_updateFlag == 1) |
2400 | { | 2400 | { |