diff options
author | UbitUmarov | 2019-04-05 14:43:48 +0100 |
---|---|---|
committer | UbitUmarov | 2019-04-05 14:43:48 +0100 |
commit | 5ed2b5c990a9d0037a15347cb8bb4db1a105c5e8 (patch) | |
tree | fc665c2db43d017bed7a30ca84073814e7c16823 /OpenSim/Region/Framework | |
parent | temp workaround on sits culling (diff) | |
download | opensim-SC-5ed2b5c990a9d0037a15347cb8bb4db1a105c5e8.zip opensim-SC-5ed2b5c990a9d0037a15347cb8bb4db1a105c5e8.tar.gz opensim-SC-5ed2b5c990a9d0037a15347cb8bb4db1a105c5e8.tar.bz2 opensim-SC-5ed2b5c990a9d0037a15347cb8bb4db1a105c5e8.tar.xz |
try handle the special case MaxRegionsViewDistance = 0 (agents only see void around region, even if there are regions around
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c728d9b..aea3a8d 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1651,8 +1651,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1651 | m_previusParcelUUID = UUID.Zero; | 1651 | m_previusParcelUUID = UUID.Zero; |
1652 | m_currentParcelHide = false; | 1652 | m_currentParcelHide = false; |
1653 | m_currentParcelUUID = UUID.Zero; | 1653 | m_currentParcelUUID = UUID.Zero; |
1654 | // FIXME: Set RegionHandle to the region handle of the scene this agent is moving into | 1654 | |
1655 | |||
1656 | CollisionPlane = Vector4.UnitW; | 1655 | CollisionPlane = Vector4.UnitW; |
1657 | 1656 | ||
1658 | // we need to kill this on agents that do not see the new region | 1657 | // we need to kill this on agents that do not see the new region |
@@ -4439,7 +4438,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
4439 | // updates priority recalc | 4438 | // updates priority recalc |
4440 | checkRePrioritization(); | 4439 | checkRePrioritization(); |
4441 | 4440 | ||
4442 | if(m_childUpdatesBusy) | 4441 | if(m_childUpdatesBusy || RegionViewDistance == 0) |
4443 | return; | 4442 | return; |
4444 | 4443 | ||
4445 | int tdiff = Util.EnvironmentTickCountSubtract(m_lastChildUpdatesTime); | 4444 | int tdiff = Util.EnvironmentTickCountSubtract(m_lastChildUpdatesTime); |