aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs7
1 files changed, 5 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs b/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs
index 9dd6663..30d4f21 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/J2KImage.cs
@@ -388,8 +388,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
388 string assetServerURL = string.Empty; 388 string assetServerURL = string.Empty;
389 if (InventoryAccessModule.IsForeignUser(AgentID, out assetServerURL)) 389 if (InventoryAccessModule.IsForeignUser(AgentID, out assetServerURL))
390 { 390 {
391 m_log.DebugFormat("[J2KIMAGE]: texture {0} not found in local asset storage. Trying user's storage.", id); 391 if (!assetServerURL.EndsWith("/") && !assetServerURL.EndsWith("="))
392 AssetService.Get(assetServerURL + "/" + id, InventoryAccessModule, AssetReceived); 392 assetServerURL = assetServerURL + "/";
393
394 m_log.DebugFormat("[J2KIMAGE]: texture {0} not found in local asset storage. Trying user's storage.", assetServerURL + id);
395 AssetService.Get(assetServerURL + id, InventoryAccessModule, AssetReceived);
393 return; 396 return;
394 } 397 }
395 } 398 }