From 1609e7eac0562cb011c8d29fb17f6062226f5c3a Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Fri, 29 May 2009 05:11:50 +0000 Subject: disable sculpt map caching until a better method of avoiding asset requests can be found --- OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs') diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index a60ae83..37ab581 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs @@ -2967,10 +2967,10 @@ namespace OpenSim.Region.Framework.Scenes { if (part.Shape.SculptEntry && part.Shape.SculptTexture != UUID.Zero) { - // check if a previously decoded sculpt map has been cached - if (File.Exists(System.IO.Path.Combine("j2kDecodeCache", "smap_" + part.Shape.SculptTexture.ToString()))) - part.SculptTextureCallback(part.Shape.SculptTexture, null); - else + //// check if a previously decoded sculpt map has been cached + //if (File.Exists(System.IO.Path.Combine("j2kDecodeCache", "smap_" + part.Shape.SculptTexture.ToString()))) + // part.SculptTextureCallback(part.Shape.SculptTexture, null); + //else m_scene.AssetService.Get( part.Shape.SculptTexture.ToString(), part, AssetReceived); } -- cgit v1.1