aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorMelanie2010-12-15 22:59:52 +0000
committerMelanie2010-12-15 22:59:52 +0000
commitd457b4c4b19902c67c0653b6c0c0b11496591dcd (patch)
tree188ad3f7743c1a775d5e7b87459b9658e05c7c9d /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMake sure the material is set on physical prims (diff)
parentPut in locks on m_killRecord to replace changed locks on m_entityUpdates.Sync... (diff)
downloadopensim-SC-d457b4c4b19902c67c0653b6c0c0b11496591dcd.zip
opensim-SC-d457b4c4b19902c67c0653b6c0c0b11496591dcd.tar.gz
opensim-SC-d457b4c4b19902c67c0653b6c0c0b11496591dcd.tar.bz2
opensim-SC-d457b4c4b19902c67c0653b6c0c0b11496591dcd.tar.xz
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-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