aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 432ce46..9d72bf6 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2279,6 +2279,8 @@ namespace OpenSim.Region.Framework.Scenes
2279 2279
2280 #region Overridden Methods 2280 #region Overridden Methods
2281 2281
2282 private bool sendingPrims = false;
2283
2282 public override void Update() 2284 public override void Update()
2283 { 2285 {
2284 const float ROTATION_TOLERANCE = 0.01f; 2286 const float ROTATION_TOLERANCE = 0.01f;
@@ -2286,7 +2288,8 @@ namespace OpenSim.Region.Framework.Scenes
2286 const float POSITION_TOLERANCE = 0.05f; 2288 const float POSITION_TOLERANCE = 0.05f;
2287 //const int TIME_MS_TOLERANCE = 3000; 2289 //const int TIME_MS_TOLERANCE = 3000;
2288 2290
2289 SendPrimUpdates(); 2291 if (!sendingPrims)
2292 Util.FireAndForget(delegate { sendingPrims = true; SendPrimUpdates(); sendingPrims = false; });
2290 2293
2291 if (m_isChildAgent == false) 2294 if (m_isChildAgent == false)
2292 { 2295 {