From 4c3be4e91f25d9d89b5adadd1eea3cf0b0d5cfec Mon Sep 17 00:00:00 2001 From: MW Date: Mon, 27 Aug 2007 10:34:28 +0000 Subject: Another small tweak to image sending. Implemented a few ll Functions, llSetObjectName llGetObjectName, llLoadURL (all currently untested). --- OpenSim/Framework/Communications/Cache/AssetCache.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Framework/Communications/Cache/AssetCache.cs') diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index d06582e..322cd6a 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs @@ -230,7 +230,7 @@ namespace OpenSim.Framework.Communications.Caches UsersSent.Add(sender.request.ImageInfo.FullID, 1); } - if (TimesTextureSent[sender.request.RequestUser.AgentId][sender.request.ImageInfo.FullID] < 1000) + if (TimesTextureSent[sender.request.RequestUser.AgentId][sender.request.ImageInfo.FullID] < 1200) { bool finished = sender.SendTexture(); if (finished) @@ -699,6 +699,7 @@ namespace OpenSim.Framework.Communications.Caches { SendPacket(); counter++; + if ((request.PacketCounter >= request.NumPackets) | counter > 100 | (request.NumPackets == 1)) { return true; -- cgit v1.1