From 085c184c5c58e22aaa3f276f980b3c81e92c9cb5 Mon Sep 17 00:00:00 2001 From: MW Date: Fri, 23 Mar 2007 16:05:32 +0000 Subject: Fixed it so that a Avatar update shouldn't be sent every frame and none should be sent when not moving. Fixed the problem with sometimes Avatar Animations being updated every frame. New Asset uploads should now appear in the inventory all the time. Moved Animation names/ LLUUIDs to their own class (AvatarAnimations) --- OpenSim.RegionServer/Assets/AssetCache.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'OpenSim.RegionServer/Assets/AssetCache.cs') diff --git a/OpenSim.RegionServer/Assets/AssetCache.cs b/OpenSim.RegionServer/Assets/AssetCache.cs index f7f2e10..4149cb2 100644 --- a/OpenSim.RegionServer/Assets/AssetCache.cs +++ b/OpenSim.RegionServer/Assets/AssetCache.cs @@ -145,15 +145,12 @@ namespace OpenSim.Assets num = 5; } AssetRequest req; - Console.WriteLine("processing texture requests ( " + num + " )"); for (int i = 0; i < num; i++) { req = (AssetRequest)this.TextureRequests[i]; if (req.PacketCounter != req.NumPackets) { - // if (req.ImageInfo.FullID == new LLUUID("00000000-0000-0000-5005-000000000005")) - Console.WriteLine("sending base texture ( " + req.ImageInfo.FullID + " ) in " + req.NumPackets + "number of packets"); - + if (req.PacketCounter == 0) { //first time for this request so send imagedata packet @@ -227,7 +224,6 @@ namespace OpenSim.Assets } public void AssetReceived(AssetBase asset, bool IsTexture) { - Console.WriteLine("received asset from asset server ( " + asset.FullID + " )"); if (asset.FullID != LLUUID.Zero) // if it is set to zero then the asset wasn't found by the server { //check if it is a texture or not @@ -433,9 +429,6 @@ namespace OpenSim.Assets /// public void AddTextureRequest(SimClient userInfo, LLUUID imageID) { - if (imageID == new LLUUID("00000000-0000-0000-5005-000000000005")) - Console.WriteLine("request base prim texture "); - //check to see if texture is in local cache, if not request from asset server if (!this.Textures.ContainsKey(imageID)) { -- cgit v1.1