From 874d663161a146c4a747f4f380ffb3b68ea3bb6a Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 1 Dec 2016 04:02:29 +0000 Subject: [PATCH] fix region area range --- OpenSim/Services/GridService/GridService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index a340612320..31a186ab3c 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs @@ -207,8 +207,8 @@ namespace OpenSim.Services.GridService List rdatas = m_Database.Get( regionInfos.RegionLocX, regionInfos.RegionLocY, - regionInfos.RegionLocX + regionInfos.RegionSizeX, - regionInfos.RegionLocY + regionInfos.RegionSizeY, + regionInfos.RegionLocX + regionInfos.RegionSizeX - 1, + regionInfos.RegionLocY + regionInfos.RegionSizeY - 1 , scopeID); RegionData region = null;