summaryrefslogtreecommitdiff
path: root/indra/newview/pipeline.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2017-11-06 14:02:38 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2017-11-06 14:02:38 +0000
commite8fe39f33266c96797ca976978b24bf9cd778f8c (patch)
tree5b5d97ed672350506edf235905cf16810633731b /indra/newview/pipeline.cpp
parente00f4d739bb7b4feb0af72ceb0ad9e469beee3c9 (diff)
SL-830 - more diagnostics and possible fixes around corrupted graphics state
Diffstat (limited to 'indra/newview/pipeline.cpp')
-rw-r--r--indra/newview/pipeline.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 19487c3230..436c0cbf43 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -3350,6 +3350,19 @@ 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())
+ {
+ std::string vobj_name = llformat("Vol%u", (U32) vol_obj);
+ F32 est_tris = vol_obj->getEstTrianglesMax();
+ LL_DEBUGS("AXONLinkset") << vobj_name << " markRebuild, tris " << est_tris
+ << " priority " << (S32) priority << " flag " << std::hex << flag << LL_ENDL;
+ }
+#endif
+
if (!drawablep->isState(LLDrawable::BUILT))
{
priority = TRUE;