Fix for setting region through property. This should allow

mysql to work again in grid mode for user storage.
afrisby
Sean Dague 2007-09-11 15:13:24 +00:00
parent 7fd639a19e
commit 71f94d8421
1 changed files with 2 additions and 2 deletions

View File

@ -66,8 +66,8 @@ namespace OpenSim.Framework.Data
{ {
get { return Helpers.UIntsToLong((homeRegionX * 256), (homeRegionY * 256)); } get { return Helpers.UIntsToLong((homeRegionX * 256), (homeRegionY * 256)); }
set { set {
System.Console.WriteLine("Don't know how to set homeRegion"); homeRegionX = (uint)(value >> 40);
Helpers.UIntsToLong((homeRegionX * 256), (homeRegionY * 256)); homeRegionY = (((uint)(value)) >> 8);
} }
} }
public uint homeRegionX; public uint homeRegionX;