aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorUbitUmarov2017-05-21 02:20:40 +0100
committerUbitUmarov2017-05-21 02:20:40 +0100
commite520dba7175be517d6b7f05071fb6c41dc155770 (patch)
tree51598fe8bdebb4d5e8cbee35e3abea144f33417f /OpenSim/Region/Framework
parentmerge (diff)
parentremove LongPoll type and queues. Events should now have reduced latency also.... (diff)
downloadopensim-SC-e520dba7175be517d6b7f05071fb6c41dc155770.zip
opensim-SC-e520dba7175be517d6b7f05071fb6c41dc155770.tar.gz
opensim-SC-e520dba7175be517d6b7f05071fb6c41dc155770.tar.bz2
opensim-SC-e520dba7175be517d6b7f05071fb6c41dc155770.tar.xz
Merge branch 'master' into httptests
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 2731274..474378d 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2456,7 +2456,9 @@ namespace OpenSim.Region.Framework.Scenes
2456 // This is irritating. Really. 2456 // This is irritating. Really.
2457 if (!AbsolutePosition.IsFinite()) 2457 if (!AbsolutePosition.IsFinite())
2458 { 2458 {
2459 RemoveFromPhysicalScene(); 2459 bool isphysical = PhysicsActor != null;
2460 if(isphysical)
2461 RemoveFromPhysicalScene();
2460 m_log.Error("[AVATAR]: NonFinite Avatar position detected... Reset Position. Mantis this please. Error #9999902"); 2462 m_log.Error("[AVATAR]: NonFinite Avatar position detected... Reset Position. Mantis this please. Error #9999902");
2461 2463
2462 m_pos = m_LastFinitePos; 2464 m_pos = m_LastFinitePos;
@@ -2468,7 +2470,8 @@ namespace OpenSim.Region.Framework.Scenes
2468 m_log.Error("[AVATAR]: NonFinite Avatar position detected... Reset Position. Mantis this please. Error #9999903"); 2470 m_log.Error("[AVATAR]: NonFinite Avatar position detected... Reset Position. Mantis this please. Error #9999903");
2469 } 2471 }
2470 2472
2471 AddToPhysicalScene(false); 2473 if(isphysical)
2474 AddToPhysicalScene(false);
2472 } 2475 }
2473 else 2476 else
2474 { 2477 {