From 10a23a823edb261af2c0b7895ce0898ea6918ef1 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 19 Nov 2011 01:16:07 +0000 Subject: Get rid of the spurious [WEB UTIL] couldn't decode : Invalid character 'O' in input string messages These are just the result of an attempt to canonicalize received messages - it's not important that we constantly log them. Also finally get the deregister grid service message working properly --- OpenSim/Data/IRegionData.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/IRegionData.cs') diff --git a/OpenSim/Data/IRegionData.cs b/OpenSim/Data/IRegionData.cs index 0068daa..546b5e8 100644 --- a/OpenSim/Data/IRegionData.cs +++ b/OpenSim/Data/IRegionData.cs @@ -54,12 +54,12 @@ namespace OpenSim.Data /// /// Return the x-coordinate of this region. /// - public int coordX { get { return (sizeX != 0) ? posX / (int)Constants.RegionSize : -1; } } + public int coordX { get { return posX / (int)Constants.RegionSize; } } /// /// Return the y-coordinate of this region. /// - public int coordY { get { return (sizeY != 0) ? posY / (int)Constants.RegionSize : -1; } } + public int coordY { get { return posY / (int)Constants.RegionSize; } } public Dictionary Data; } -- cgit v1.1