put back baked textures debug msgs at start of validatebaked...

avinationmerge
UbitUmarov 2014-08-13 20:43:26 +01:00
parent 483afe6867
commit 1bd13155e6
1 changed files with 12 additions and 0 deletions

View File

@ -493,6 +493,18 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
wearableCache = WearableCacheItem.GetDefaultCacheItem();
m_log.DebugFormat("[AVFACTORY]: ValidateBakedTextureCache start for {0} {1}", sp.Name, sp.UUID);
// debug
for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++)
{
int j = AvatarAppearance.BAKE_INDICES[iter];
Primitive.TextureEntryFace face = sp.Appearance.Texture.FaceTextures[iter];
if (face != null)
m_log.Debug("[ValidateBakedCache] {" + iter + "/" + j + " t - " + face.TextureID);
else
m_log.Debug("[ValidateBakedCache] {" + iter + "/" + j + " t - No texture");
}
bool gotbacked = false;
// Cache wearable data for teleport.