diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-12-04 13:57:49 +0000 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2017-12-04 13:57:49 +0000 |
commit | 0c800002e2bdc81d66eb7f7f7eb76448574edad8 (patch) | |
tree | d851d4054136e4dcc1779f63f1c914951fd0fb0a /indra/newview/pipeline.cpp | |
parent | fd893e18361fb5e919759256825cdc4b7b58381f (diff) |
SL-704 - animated object debug logging cleanup
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r-- | indra/newview/pipeline.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 6be5db8246..b6a27a178b 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -3350,17 +3350,17 @@ void LLPipeline::markRebuild(LLDrawable *drawablep, LLDrawable::EDrawableFlags f { if (drawablep && !drawablep->isDead() && assertInitialized()) { -#if 1 - // AXON debugging - LLVOVolume *vol_obj = drawablep->getVOVolume(); - if (vol_obj && vol_obj->isAnimatedObject() && vol_obj->isRiggedMesh()) + if (debugLoggingEnabled("AnimatedObjectsLinkset")) { - std::string vobj_name = llformat("Vol%u", (U32) vol_obj); - F32 est_tris = vol_obj->getEstTrianglesMax(); - LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " markRebuild, tris " << est_tris - << " priority " << (S32) priority << " flag " << std::hex << flag << LL_ENDL; + LLVOVolume *vol_obj = drawablep->getVOVolume(); + if (vol_obj && vol_obj->isAnimatedObject() && vol_obj->isRiggedMesh()) + { + std::string vobj_name = llformat("Vol%u", (U32) vol_obj); + F32 est_tris = vol_obj->getEstTrianglesMax(); + LL_DEBUGS("AnimatedObjectsLinkset") << vobj_name << " markRebuild, tris " << est_tris + << " priority " << (S32) priority << " flag " << std::hex << flag << LL_ENDL; + } } -#endif if (!drawablep->isState(LLDrawable::BUILT)) { |