some clean up of sculpt map caching code

remove a redundant debug message
This commit is contained in:
Dahlia Trimble
2009-05-29 08:57:10 +00:00
parent 05cbf0b502
commit 179724b4fc
2 changed files with 5 additions and 6 deletions

View File

@@ -2970,12 +2970,13 @@ namespace OpenSim.Region.Framework.Scenes
// check if a previously decoded sculpt map has been cached
if (File.Exists(System.IO.Path.Combine("j2kDecodeCache", "smap_" + part.Shape.SculptTexture.ToString())))
{
m_log.Debug("[SCULPT]: found cached sculpt map - calling AssetReceived");
part.SculptTextureCallback(part.Shape.SculptTexture, null);
}
else
{
m_scene.AssetService.Get(
part.Shape.SculptTexture.ToString(), part, AssetReceived);
}
}
}
}