Fix for setting region through property. This should allow
mysql to work again in grid mode for user storage.afrisby
parent
7fd639a19e
commit
71f94d8421
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue