diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent')
-rw-r--r-- | OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs b/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs index c0ca126..0d3cc23 100644 --- a/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs +++ b/OpenSim/Region/CoreModules/Agent/TextureSender/J2KDecoderModule.cs | |||
@@ -33,6 +33,7 @@ using System.Text; | |||
33 | using log4net; | 33 | using log4net; |
34 | using Nini.Config; | 34 | using Nini.Config; |
35 | using OpenMetaverse; | 35 | using OpenMetaverse; |
36 | using OpenMetaverse.Assets; | ||
36 | using OpenMetaverse.Imaging; | 37 | using OpenMetaverse.Imaging; |
37 | using OpenSim.Framework; | 38 | using OpenSim.Framework; |
38 | using OpenSim.Region.Framework.Interfaces; | 39 | using OpenSim.Region.Framework.Interfaces; |
@@ -391,7 +392,7 @@ namespace OpenSim.Region.CoreModules.Agent.TextureSender | |||
391 | if (i == (Layers.Length - 1)) | 392 | if (i == (Layers.Length - 1)) |
392 | strEnd = ""; | 393 | strEnd = ""; |
393 | 394 | ||
394 | stringResult.AppendFormat("{0}|{1}|{2}{3}", Layers[i].Start, Layers[i].End, Layers[i].Size, strEnd); | 395 | stringResult.AppendFormat("{0}|{1}|{2}{3}", Layers[i].Start, Layers[i].End, Layers[i].End - Layers[i].Start, strEnd); |
395 | } | 396 | } |
396 | fsSWCache.Write(stringResult.ToString()); | 397 | fsSWCache.Write(stringResult.ToString()); |
397 | fsSWCache.Close(); | 398 | fsSWCache.Close(); |