diff options
author | Dahlia Trimble | 2009-05-29 08:57:10 +0000 |
---|---|---|
committer | Dahlia Trimble | 2009-05-29 08:57:10 +0000 |
commit | 179724b4fcc063adb67556bcb5997b2de663e348 (patch) | |
tree | eaecc9fef8441cd16dcd5109e6beaf22753a2ecc /OpenSim/Region/Framework/Scenes | |
parent | reinstate a hopefully more robust experimental decoded sculpt map caching scheme (diff) | |
download | opensim-SC-179724b4fcc063adb67556bcb5997b2de663e348.zip opensim-SC-179724b4fcc063adb67556bcb5997b2de663e348.tar.gz opensim-SC-179724b4fcc063adb67556bcb5997b2de663e348.tar.bz2 opensim-SC-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.cs | 3 |
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 | } |