From 8a3157aa6a83b7b84811cd4675ba9fc8e6fbd32e Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Wed, 29 Oct 2008 18:38:10 +0000 Subject: * Check in (disabled) results of not persisting avatar textures but rather sending ImageNotFound to clients if avatar textures are missing * Whilst this does automatically get the client to rebake, on crossing a region border the 'local' assets are left behind * There may be a cunning solution (such as squirting the assets on region crossing, or having them fetched from the original region) but instead I'm going to opt for the easy solution of keeping them in the asset database, for now --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index e0753d5..848d31c 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -2598,6 +2598,16 @@ namespace OpenSim.Region.ClientStack.LindenUDP OutPacket(im, ThrottleOutPacketType.Texture); } + + public void SendImageNotFound(UUID imageid) + { + ImageNotInDatabasePacket notFoundPacket + = (ImageNotInDatabasePacket)PacketPool.Instance.GetPacket(PacketType.ImageNotInDatabase); + + notFoundPacket.ImageID.ID = imageid; + + OutPacket(notFoundPacket, ThrottleOutPacketType.Texture); + } public void SendShutdownConnectionNotice() { -- cgit v1.1