mirror of
https://github.com/opensim/opensim.git
synced 2026-08-09 18:55:58 +08:00
* Cleaned up code in Terrain, Tree and Map modules.
* Fixed a bug with Terragen loader where it would do bad things on a non 256x256 sized terrain. Now loads the array correctly. * Moved MapImageModule.cs to Modules/World/WorldMap * Changed Location.RegionHandle to use Helpers.GetUlong instead of doing it ourselves.
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using libsecondlife;
|
||||
|
||||
namespace OpenSim.Framework
|
||||
{
|
||||
@@ -22,7 +23,7 @@ namespace OpenSim.Framework
|
||||
|
||||
public ulong RegionHandle
|
||||
{
|
||||
get { return ((ulong) m_x << 32 & (ulong) m_y); }
|
||||
get { return Helpers.UIntsToLong((uint) m_x, (uint) m_y); }
|
||||
}
|
||||
|
||||
public int X
|
||||
|
||||
Reference in New Issue
Block a user