aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-01-04 03:00:36 +0000
committerUbitUmarov2019-01-04 03:00:36 +0000
commitfc4de64af430bee0ca316421cd286afa51753480 (patch)
tree348feaca906518494614d54f0ff10542550d7238 /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentoops, thats elsewhere (diff)
downloadopensim-SC-fc4de64af430bee0ca316421cd286afa51753480.zip
opensim-SC-fc4de64af430bee0ca316421cd286afa51753480.tar.gz
opensim-SC-fc4de64af430bee0ca316421cd286afa51753480.tar.bz2
opensim-SC-fc4de64af430bee0ca316421cd286afa51753480.tar.xz
fix reprio trigger on tp
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs15
1 files changed, 11 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index fd4b3a3..37ac094 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -2340,9 +2340,10 @@ namespace OpenSim.Region.Framework.Scenes
2340 } 2340 }
2341 2341
2342 m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000; 2342 m_lastChildUpdatesTime = Util.EnvironmentTickCount() + 10000;
2343 m_lastChildAgentUpdatePosition = AbsolutePosition;
2343 m_lastChildAgentUpdateDrawDistance = DrawDistance; 2344 m_lastChildAgentUpdateDrawDistance = DrawDistance;
2345
2344 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel; 2346 m_lastChildAgentUpdateGodLevel = GodController.ViwerUIGodLevel;
2345 m_lastChildAgentUpdatePosition = AbsolutePosition;
2346 m_childUpdatesBusy = false; // allow them 2347 m_childUpdatesBusy = false; // allow them
2347 } 2348 }
2348 2349
@@ -4027,6 +4028,15 @@ namespace OpenSim.Region.Framework.Scenes
4027 { 4028 {
4028 landch.sendClientInitialLandInfo(ControllingClient); 4029 landch.sendClientInitialLandInfo(ControllingClient);
4029 } 4030 }
4031 m_reprioritizationLastPosition = AbsolutePosition;
4032 m_reprioritizationLastDrawDistance = DrawDistance;
4033 m_reprioritizationLastTime = Util.EnvironmentTickCount() + 15000; // delay it
4034 }
4035 else
4036 {
4037 m_reprioritizationLastPosition = AbsolutePosition;
4038 m_reprioritizationLastDrawDistance = -1000;
4039 m_reprioritizationLastTime = Util.EnvironmentTickCount() + 2000; // delay it
4030 } 4040 }
4031 4041
4032 SendOtherAgentsAvatarFullToMe(); 4042 SendOtherAgentsAvatarFullToMe();
@@ -4037,9 +4047,6 @@ namespace OpenSim.Region.Framework.Scenes
4037 ((SceneObjectGroup)e).SendFullAnimUpdateToClient(ControllingClient); 4047 ((SceneObjectGroup)e).SendFullAnimUpdateToClient(ControllingClient);
4038 } 4048 }
4039 4049
4040 m_reprioritizationLastPosition = AbsolutePosition;
4041 m_reprioritizationLastDrawDistance = DrawDistance;
4042 m_reprioritizationLastTime = Util.EnvironmentTickCount() + 15000; // delay it
4043 m_reprioritizationBusy = false; 4050 m_reprioritizationBusy = false;
4044 4051
4045 }); 4052 });