diff options
author | Adam Frisby | 2008-05-03 20:00:35 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-03 20:00:35 +0000 |
commit | 87b313792821cb842fd54b568302b6877c4e53f8 (patch) | |
tree | 446719156d1e8d8c12bc3bcd69546f04ba0d79ab /OpenSim/Framework | |
parent | * Refactor: Move MoveFolder() and PurgeFolder() into CachedUserInfo (which ar... (diff) | |
download | opensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.zip opensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.tar.gz opensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.tar.bz2 opensim-SC-87b313792821cb842fd54b568302b6877c4e53f8.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/Location.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Framework/Location.cs b/OpenSim/Framework/Location.cs index a3d504c..6bc0755 100644 --- a/OpenSim/Framework/Location.cs +++ b/OpenSim/Framework/Location.cs | |||
@@ -1,4 +1,5 @@ | |||
1 | using System; | 1 | using System; |
2 | using libsecondlife; | ||
2 | 3 | ||
3 | namespace OpenSim.Framework | 4 | namespace OpenSim.Framework |
4 | { | 5 | { |
@@ -22,7 +23,7 @@ namespace OpenSim.Framework | |||
22 | 23 | ||
23 | public ulong RegionHandle | 24 | public ulong RegionHandle |
24 | { | 25 | { |
25 | get { return ((ulong) m_x << 32 & (ulong) m_y); } | 26 | get { return Helpers.UIntsToLong((uint) m_x, (uint) m_y); } |
26 | } | 27 | } |
27 | 28 | ||
28 | public int X | 29 | public int X |