Fixed bug in assetcache where certain textures were not being packetized correctly

afrisby
Brian McBee 2007-11-11 00:11:34 +00:00
parent ec77e1eb17
commit 46fbcad2aa
1 changed files with 1 additions and 1 deletions

View File

@ -325,7 +325,7 @@ namespace OpenSim.Framework.Communications.Cache
if (image.Data.LongLength > 600) if (image.Data.LongLength > 600)
{ {
//over 600 bytes so split up file //over 600 bytes so split up file
req.NumPackets = 1 + (int) (image.Data.Length - 600)/1000; req.NumPackets = 2 + (int) (image.Data.Length - 601)/1000;
} }
else else
{ {