From 96cc4e5b95eb7f5b886a0fc0765866d062b3651a Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 14 Aug 2014 04:01:54 +0100 Subject: reduced debug msgs --- .../CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 3c626ad..be85947 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs @@ -466,6 +466,8 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory } // debug + m_log.Debug("[UpdateBCache] hits: " +hits.ToString()); +/* for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) { int j = AvatarAppearance.BAKE_INDICES[iter]; @@ -474,7 +476,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory sp.Appearance.WearableCacheItems[j].CacheId + ", t-" + sp.Appearance.WearableCacheItems[j].TextureID); } - +*/ return (hits == cacheItems.Length); } @@ -496,6 +498,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory // big debug m_log.DebugFormat("[AVFACTORY]: ValidateBakedTextureCache start for {0} {1}", sp.Name, sp.UUID); +/* for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) { int j = AvatarAppearance.BAKE_INDICES[iter]; @@ -523,7 +526,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory ); } } - +*/ bool wearableCacheValid = false; if (wearableCache == null) { @@ -628,6 +631,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory // debug m_log.DebugFormat("[AVFACTORY]: Completed texture check for {0} {1} {2}", sp.Name, sp.UUID, hits); +/* for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) { int j = AvatarAppearance.BAKE_INDICES[iter]; @@ -636,7 +640,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory sp.Appearance.WearableCacheItems[j].CacheId + ", t-" + sp.Appearance.WearableCacheItems[j].TextureID); } - +*/ return (hits >= AvatarAppearance.BAKE_INDICES.Length - 1); // skirt is optional } -- cgit v1.1