disable sculpt map caching until a better method of avoiding asset requests can be found

This commit is contained in:
Dahlia Trimble
2009-05-29 05:11:50 +00:00
parent 9493de7f4e
commit 1609e7eac0
3 changed files with 15 additions and 10 deletions

View File

@@ -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);
}