* 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:
@@ -20,7 +20,7 @@ namespace OpenMetaverse.TestClient
|
||||
int xPos = (int)Utils.Clamp(agentPos.X, 0.0f, 255.0f) / 16;
|
||||
int yPos = (int)Utils.Clamp(agentPos.Y, 0.0f, 255.0f) / 16;
|
||||
|
||||
Vector2 windSpeed = Client.Terrain.WindSpeeds[Client.Network.CurrentSim.Handle][yPos * 16 + xPos];
|
||||
Vector2 windSpeed = Client.Network.CurrentSim.WindSpeeds[yPos * 16 + xPos];
|
||||
|
||||
return "Local wind speed is " + windSpeed.ToString();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user