* Updating OpenMetaverse.Http and Simian to new HttpServer.HttpListener.Create() requirement for an ILogWriter

* Move more state updates into ISceneProvider
* Lazy initialization of mesh data for SimulationObjects

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2436 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-02-13 22:21:01 +00:00
parent 5c14ce3265
commit 3b3946244a
10 changed files with 215 additions and 109 deletions

View File

@@ -46,8 +46,9 @@ namespace Simian.Extensions
}
else
{
// No layers, send the full image
DiscardLevel = 0;
StopPacket = GetPacketForBytePosition(Texture.AssetData.Length);
StopPacket = GetPacketForBytePosition(Texture.AssetData.Length - 1);
}
CurrentPacket = Utils.Clamp(packet, 1, TexturePacketCount());