diff options
author | Brian McBee | 2007-11-11 00:11:34 +0000 |
---|---|---|
committer | Brian McBee | 2007-11-11 00:11:34 +0000 |
commit | 46fbcad2aac3720b826d56b6cc5b483b98a07cf3 (patch) | |
tree | 66fd4528af4cdc335749e0284d1734d7486ae013 /OpenSim/Framework/Communications/Cache | |
parent | * adds flag in OpenSim.ini for disabling physical prim. Look at OpenSim.ini.... (diff) | |
download | opensim-SC-46fbcad2aac3720b826d56b6cc5b483b98a07cf3.zip opensim-SC-46fbcad2aac3720b826d56b6cc5b483b98a07cf3.tar.gz opensim-SC-46fbcad2aac3720b826d56b6cc5b483b98a07cf3.tar.bz2 opensim-SC-46fbcad2aac3720b826d56b6cc5b483b98a07cf3.tar.xz |
Fixed bug in assetcache where certain textures were not being packetized correctly
Diffstat (limited to 'OpenSim/Framework/Communications/Cache')
-rw-r--r-- | OpenSim/Framework/Communications/Cache/AssetCache.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Framework/Communications/Cache/AssetCache.cs b/OpenSim/Framework/Communications/Cache/AssetCache.cs index 8adf76c..0ea33ff 100644 --- a/OpenSim/Framework/Communications/Cache/AssetCache.cs +++ b/OpenSim/Framework/Communications/Cache/AssetCache.cs | |||
@@ -325,7 +325,7 @@ namespace OpenSim.Framework.Communications.Cache | |||
325 | if (image.Data.LongLength > 600) | 325 | if (image.Data.LongLength > 600) |
326 | { | 326 | { |
327 | //over 600 bytes so split up file | 327 | //over 600 bytes so split up file |
328 | req.NumPackets = 1 + (int) (image.Data.Length - 600)/1000; | 328 | req.NumPackets = 2 + (int) (image.Data.Length - 601)/1000; |
329 | } | 329 | } |
330 | else | 330 | else |
331 | { | 331 | { |