aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index d83ff51..254fe37 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2635,6 +2635,8 @@ namespace OpenSim.Region.Framework.Scenes
2635 2635
2636 #region Overridden Methods 2636 #region Overridden Methods
2637 2637
2638 private bool sendingPrims = false;
2639
2638 public override void Update() 2640 public override void Update()
2639 { 2641 {
2640 const float ROTATION_TOLERANCE = 0.01f; 2642 const float ROTATION_TOLERANCE = 0.01f;
@@ -2642,7 +2644,8 @@ namespace OpenSim.Region.Framework.Scenes
2642 const float POSITION_TOLERANCE = 0.05f; 2644 const float POSITION_TOLERANCE = 0.05f;
2643 //const int TIME_MS_TOLERANCE = 3000; 2645 //const int TIME_MS_TOLERANCE = 3000;
2644 2646
2645 2647 if (!sendingPrims)
2648 Util.FireAndForget(delegate { sendingPrims = true; SendPrimUpdates(); sendingPrims = false; });
2646 2649
2647 if (m_isChildAgent == false) 2650 if (m_isChildAgent == false)
2648 { 2651 {
@@ -2670,6 +2673,7 @@ namespace OpenSim.Region.Framework.Scenes
2670 // followed suggestion from mic bowman. reversed the two lines below. 2673 // followed suggestion from mic bowman. reversed the two lines below.
2671 if (m_parentID == 0 && m_physicsActor != null || m_parentID != 0) // Check that we have a physics actor or we're sitting on something 2674 if (m_parentID == 0 && m_physicsActor != null || m_parentID != 0) // Check that we have a physics actor or we're sitting on something
2672 CheckForBorderCrossing(); 2675 CheckForBorderCrossing();
2676
2673 CheckForSignificantMovement(); // sends update to the modules. 2677 CheckForSignificantMovement(); // sends update to the modules.
2674 } 2678 }
2675 2679