aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorDahlia Trimble2009-05-29 08:57:10 +0000
committerDahlia Trimble2009-05-29 08:57:10 +0000
commit179724b4fcc063adb67556bcb5997b2de663e348 (patch)
treeeaecc9fef8441cd16dcd5109e6beaf22753a2ecc /OpenSim/Region/Framework/Scenes
parentreinstate a hopefully more robust experimental decoded sculpt map caching scheme (diff)
downloadopensim-SC_OLD-179724b4fcc063adb67556bcb5997b2de663e348.zip
opensim-SC_OLD-179724b4fcc063adb67556bcb5997b2de663e348.tar.gz
opensim-SC_OLD-179724b4fcc063adb67556bcb5997b2de663e348.tar.bz2
opensim-SC_OLD-179724b4fcc063adb67556bcb5997b2de663e348.tar.xz
some clean up of sculpt map caching code
remove a redundant debug message
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 4446fa4..06c4d6b 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2970,12 +2970,13 @@ namespace OpenSim.Region.Framework.Scenes
2970 // check if a previously decoded sculpt map has been cached 2970 // check if a previously decoded sculpt map has been cached
2971 if (File.Exists(System.IO.Path.Combine("j2kDecodeCache", "smap_" + part.Shape.SculptTexture.ToString()))) 2971 if (File.Exists(System.IO.Path.Combine("j2kDecodeCache", "smap_" + part.Shape.SculptTexture.ToString())))
2972 { 2972 {
2973 m_log.Debug("[SCULPT]: found cached sculpt map - calling AssetReceived");
2974 part.SculptTextureCallback(part.Shape.SculptTexture, null); 2973 part.SculptTextureCallback(part.Shape.SculptTexture, null);
2975 } 2974 }
2976 else 2975 else
2976 {
2977 m_scene.AssetService.Get( 2977 m_scene.AssetService.Get(
2978 part.Shape.SculptTexture.ToString(), part, AssetReceived); 2978 part.Shape.SculptTexture.ToString(), part, AssetReceived);
2979 }
2979 } 2980 }
2980 } 2981 }
2981 } 2982 }