* Handle "-0" values in wearable assets

* Login fix for Linux clients now that the null ID0 is blacklisted
* Change Parcel from a struct to a class (this object is huge!) and remove the redundant initializers in the constructor
* Moved Terrain and WindSpeed data from TerrainManager to the Simulator class
* Don't track wind data either if STORE_LAND_PATCHES is disabled

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@3298 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2010-04-21 00:00:54 +00:00
parent de2a49dddf
commit 9138fee6b0
7 changed files with 60 additions and 112 deletions

View File

@@ -101,15 +101,10 @@ namespace Heightmap
if (Boxes[x, y] == sender)
{
float height;
if (Client.Terrain.TerrainHeightAtPoint(Client.Network.CurrentSim.Handle,
x * 16 + e.X, y * 16 + e.Y, out height))
{
if (Client.Network.CurrentSim.TerrainHeightAtPoint(x * 16 + e.X, y * 16 + e.Y, out height))
MessageBox.Show( string.Format("{0},{1}:{2}",x*16+e.X,255-(y*16+e.Y),height) );
}
else
{
MessageBox.Show("Unknown height");
}
return;
}
}