From 1bd13155e682aed90e27946290b3673938a15b8c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 13 Aug 2014 20:43:26 +0100 Subject: [PATCH] put back baked textures debug msgs at start of validatebaked... --- .../Avatar/AvatarFactory/AvatarFactoryModule.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 2290c443c7..e34bac9499 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs @@ -492,6 +492,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;