From 0abb762ecc3b87e210ffb7009bdddf8a1a159419 Mon Sep 17 00:00:00 2001
From: Melanie Thielker
Date: Tue, 18 Nov 2008 20:02:25 +0000
Subject: Patch from jhurliman. Fixing the texture decoding issues in
progressive texture sending. Grain of salt not included.
---
.../Framework/Communications/Capabilities/LLSD.cs | 2 +-
.../Agent/TextureDownload/TextureNotFoundSender.cs | 1 -
.../Modules/Agent/TextureSender/TextureSender.cs | 3 +--
.../Modules/Avatar/Friends/FriendsModule.cs | 1 -
.../Region/Environment/Scenes/Scene.Inventory.cs | 1 -
bin/OpenMetaverse.dll | Bin 1716224 -> 1622016 bytes
bin/OpenMetaverseTypes.dll | Bin 60928 -> 69632 bytes
bin/openjpeg-dotnet.dll | Bin 196608 -> 196608 bytes
prebuild.xml | 14 +++++++++-----
9 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/OpenSim/Framework/Communications/Capabilities/LLSD.cs b/OpenSim/Framework/Communications/Capabilities/LLSD.cs
index 44c4a05..e754256 100644
--- a/OpenSim/Framework/Communications/Capabilities/LLSD.cs
+++ b/OpenSim/Framework/Communications/Capabilities/LLSD.cs
@@ -561,7 +561,7 @@ namespace OpenSim.Framework.Communications.Capabilities
endPos = FindEnd(llsd, 1);
if (Double.TryParse(llsd.Substring(1, endPos - 1), NumberStyles.Float,
- Helpers.EnUsCulture.NumberFormat, out value))
+ Utils.EnUsCulture.NumberFormat, out value))
return value;
else
throw new LLSDParseException("Failed to parse double value type");
diff --git a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureNotFoundSender.cs b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureNotFoundSender.cs
index c064064..044ee76 100644
--- a/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureNotFoundSender.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/TextureDownload/TextureNotFoundSender.cs
@@ -28,7 +28,6 @@
using System.Reflection;
using log4net;
using OpenMetaverse;
-using OpenMetaverse.Packets;
using OpenSim.Framework;
using OpenSim.Region.Environment.Interfaces;
diff --git a/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs b/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs
index b177103..65ca854 100644
--- a/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs
+++ b/OpenSim/Region/Environment/Modules/Agent/TextureSender/TextureSender.cs
@@ -27,7 +27,6 @@
using System;
using System.Reflection;
-using OpenMetaverse.Packets;
using log4net;
using OpenSim.Framework;
using OpenSim.Region.Environment.Interfaces;
@@ -198,7 +197,7 @@ namespace OpenSim.Region.Environment.Modules.Agent.TextureSender
// See ITextureSender
public bool SendTexturePacket()
{
- if (!m_cancel && (sendFirstPacket || download.CurrentPacket <= download.StopPacket))
+ if (download != null && !m_cancel && (sendFirstPacket || download.CurrentPacket <= download.StopPacket))
{
SendPacket();
return false;
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs
index daff760..989f36c 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Friends/FriendsModule.cs
@@ -29,7 +29,6 @@ using System.Collections;
using System.Collections.Generic;
using System.Reflection;
using OpenMetaverse;
-using OpenMetaverse.Packets;
using log4net;
using Nini.Config;
using Nwc.XmlRpc;
diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
index e46b13c..5bfa1eb 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs
@@ -31,7 +31,6 @@ using System.Reflection;
using System.Text;
using System.Timers;
using OpenMetaverse;
-using OpenMetaverse.Packets;
using log4net;
using OpenSim.Framework;
using OpenSim.Framework.Communications.Cache;
diff --git a/bin/OpenMetaverse.dll b/bin/OpenMetaverse.dll
index 4c68e49..be1cd40 100644
Binary files a/bin/OpenMetaverse.dll and b/bin/OpenMetaverse.dll differ
diff --git a/bin/OpenMetaverseTypes.dll b/bin/OpenMetaverseTypes.dll
index 836c95e..21004df 100644
Binary files a/bin/OpenMetaverseTypes.dll and b/bin/OpenMetaverseTypes.dll differ
diff --git a/bin/openjpeg-dotnet.dll b/bin/openjpeg-dotnet.dll
index 50a6b45..d5f71c1 100644
Binary files a/bin/openjpeg-dotnet.dll and b/bin/openjpeg-dotnet.dll differ
diff --git a/prebuild.xml b/prebuild.xml
index 9d66e9b..f5467df 100644
--- a/prebuild.xml
+++ b/prebuild.xml
@@ -461,7 +461,7 @@
-
+
@@ -706,7 +706,7 @@
-
+
@@ -739,6 +739,8 @@
+
+
@@ -832,6 +834,7 @@
+
@@ -1137,6 +1140,7 @@
+
@@ -1942,7 +1946,7 @@
-
+
@@ -1983,7 +1987,7 @@
-
+
@@ -2117,7 +2121,7 @@
-
+
--
cgit v1.1