diff options
author | Diva Canto | 2012-04-08 17:54:59 -0700 |
---|---|---|
committer | Diva Canto | 2012-04-08 17:54:59 -0700 |
commit | 0f277dfa179ea220b6714d0659632bb3cf2724d0 (patch) | |
tree | 1d2b30448087986d4601496007b4405ae6bbe05a /OpenSim/Region | |
parent | A few more minor improvements on Suitcase inventory service. (diff) | |
download | opensim-SC-0f277dfa179ea220b6714d0659632bb3cf2724d0.zip opensim-SC-0f277dfa179ea220b6714d0659632bb3cf2724d0.tar.gz opensim-SC-0f277dfa179ea220b6714d0659632bb3cf2724d0.tar.bz2 opensim-SC-0f277dfa179ea220b6714d0659632bb3cf2724d0.tar.xz |
Addresses mantis #5846
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs index 4d98f00..b8616e8 100644 --- a/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Framework/Scenes/SceneCommunicationService.cs | |||
@@ -156,7 +156,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
156 | // that the region position is cached or performance will degrade | 156 | // that the region position is cached or performance will degrade |
157 | Utils.LongToUInts(regionHandle, out x, out y); | 157 | Utils.LongToUInts(regionHandle, out x, out y); |
158 | GridRegion dest = m_scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); | 158 | GridRegion dest = m_scene.GridService.GetRegionByPosition(UUID.Zero, (int)x, (int)y); |
159 | // bool v = true; | 159 | if (dest == null) |
160 | continue; | ||
161 | |||
160 | if (!simulatorList.Contains(dest.ServerURI)) | 162 | if (!simulatorList.Contains(dest.ServerURI)) |
161 | { | 163 | { |
162 | // we havent seen this simulator before, add it to the list | 164 | // we havent seen this simulator before, add it to the list |