aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorUbitUmarov2014-08-14 04:01:54 +0100
committerUbitUmarov2014-08-14 04:01:54 +0100
commit96cc4e5b95eb7f5b886a0fc0765866d062b3651a (patch)
tree111fc5a9f270149afed4cb8589235c09d65acf7d /OpenSim/Region
parent only try external baked texture module on login (diff)
downloadopensim-SC_OLD-96cc4e5b95eb7f5b886a0fc0765866d062b3651a.zip
opensim-SC_OLD-96cc4e5b95eb7f5b886a0fc0765866d062b3651a.tar.gz
opensim-SC_OLD-96cc4e5b95eb7f5b886a0fc0765866d062b3651a.tar.bz2
opensim-SC_OLD-96cc4e5b95eb7f5b886a0fc0765866d062b3651a.tar.xz
reduced debug msgs
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs10
1 files changed, 7 insertions, 3 deletions
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
466 } 466 }
467 467
468 // debug 468 // debug
469 m_log.Debug("[UpdateBCache] hits: " +hits.ToString());
470/*
469 for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) 471 for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++)
470 { 472 {
471 int j = AvatarAppearance.BAKE_INDICES[iter]; 473 int j = AvatarAppearance.BAKE_INDICES[iter];
@@ -474,7 +476,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
474 sp.Appearance.WearableCacheItems[j].CacheId + ", t-" + 476 sp.Appearance.WearableCacheItems[j].CacheId + ", t-" +
475 sp.Appearance.WearableCacheItems[j].TextureID); 477 sp.Appearance.WearableCacheItems[j].TextureID);
476 } 478 }
477 479*/
478 return (hits == cacheItems.Length); 480 return (hits == cacheItems.Length);
479 } 481 }
480 482
@@ -496,6 +498,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
496 498
497 // big debug 499 // big debug
498 m_log.DebugFormat("[AVFACTORY]: ValidateBakedTextureCache start for {0} {1}", sp.Name, sp.UUID); 500 m_log.DebugFormat("[AVFACTORY]: ValidateBakedTextureCache start for {0} {1}", sp.Name, sp.UUID);
501/*
499 for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) 502 for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++)
500 { 503 {
501 int j = AvatarAppearance.BAKE_INDICES[iter]; 504 int j = AvatarAppearance.BAKE_INDICES[iter];
@@ -523,7 +526,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
523 ); 526 );
524 } 527 }
525 } 528 }
526 529*/
527 bool wearableCacheValid = false; 530 bool wearableCacheValid = false;
528 if (wearableCache == null) 531 if (wearableCache == null)
529 { 532 {
@@ -628,6 +631,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
628 631
629 // debug 632 // debug
630 m_log.DebugFormat("[AVFACTORY]: Completed texture check for {0} {1} {2}", sp.Name, sp.UUID, hits); 633 m_log.DebugFormat("[AVFACTORY]: Completed texture check for {0} {1} {2}", sp.Name, sp.UUID, hits);
634/*
631 for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++) 635 for (int iter = 0; iter < AvatarAppearance.BAKE_INDICES.Length; iter++)
632 { 636 {
633 int j = AvatarAppearance.BAKE_INDICES[iter]; 637 int j = AvatarAppearance.BAKE_INDICES[iter];
@@ -636,7 +640,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
636 sp.Appearance.WearableCacheItems[j].CacheId + ", t-" + 640 sp.Appearance.WearableCacheItems[j].CacheId + ", t-" +
637 sp.Appearance.WearableCacheItems[j].TextureID); 641 sp.Appearance.WearableCacheItems[j].TextureID);
638 } 642 }
639 643*/
640 return (hits >= AvatarAppearance.BAKE_INDICES.Length - 1); // skirt is optional 644 return (hits >= AvatarAppearance.BAKE_INDICES.Length - 1); // skirt is optional
641 } 645 }
642 646