diff options
author | Diva Canto | 2013-08-05 14:21:17 -0700 |
---|---|---|
committer | Diva Canto | 2013-08-05 14:21:17 -0700 |
commit | 946b37096698c818104405cb511579e810a62973 (patch) | |
tree | 67943ea72d9db43240f21169281553bae830fd76 /OpenSim | |
parent | Group notices bug fix: use a new IM for each member of the group, otherwise t... (diff) | |
download | opensim-SC_OLD-946b37096698c818104405cb511579e810a62973.zip opensim-SC_OLD-946b37096698c818104405cb511579e810a62973.tar.gz opensim-SC_OLD-946b37096698c818104405cb511579e810a62973.tar.bz2 opensim-SC_OLD-946b37096698c818104405cb511579e810a62973.tar.xz |
Child agent updates: remove the dependency on the root agent's camera position. That was a complete overkill that is unnecessary at this point.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 456c8cc..0ba2dab 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -2989,8 +2989,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2989 | } | 2989 | } |
2990 | 2990 | ||
2991 | // Minimum Draw distance is 64 meters, the Radius of the draw distance sphere is 32m | 2991 | // Minimum Draw distance is 64 meters, the Radius of the draw distance sphere is 32m |
2992 | if (Util.GetDistanceTo(AbsolutePosition, m_lastChildAgentUpdatePosition) >= Scene.ChildReprioritizationDistance || | 2992 | if (Util.GetDistanceTo(AbsolutePosition, m_lastChildAgentUpdatePosition) >= Scene.ChildReprioritizationDistance) |
2993 | Util.GetDistanceTo(CameraPosition, m_lastChildAgentUpdateCamPosition) >= Scene.ChildReprioritizationDistance) | ||
2994 | { | 2993 | { |
2995 | m_lastChildAgentUpdatePosition = AbsolutePosition; | 2994 | m_lastChildAgentUpdatePosition = AbsolutePosition; |
2996 | m_lastChildAgentUpdateCamPosition = CameraPosition; | 2995 | m_lastChildAgentUpdateCamPosition = CameraPosition; |