summaryrefslogtreecommitdiff
path: root/indra/newview/lldrawpoolavatar.cpp
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2017-03-30 00:22:36 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2017-03-30 00:22:36 +0300
commitf53e142e7dc0d613f6d3d9b3d276cdc8843cb143 (patch)
treeba1767fdeb064d8507a92b22edc21cf6b78391ae /indra/newview/lldrawpoolavatar.cpp
parent45dd355d46dc8ea5a0a6934722ffc76f9d955a9f (diff)
MAINT-7128 Crash in LLDrawable::cleanupReferences - more informative logging
Diffstat (limited to 'indra/newview/lldrawpoolavatar.cpp')
-rw-r--r--indra/newview/lldrawpoolavatar.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/lldrawpoolavatar.cpp b/indra/newview/lldrawpoolavatar.cpp
index 499cf76bff..b221221f16 100644
--- a/indra/newview/lldrawpoolavatar.cpp
+++ b/indra/newview/lldrawpoolavatar.cpp
@@ -2063,7 +2063,9 @@ void LLDrawPoolAvatar::removeRiggedFace(LLFace* facep)
}
else
{
- LL_ERRS() << "Face reference data corrupt for rigged type " << i << LL_ENDL;
+ LL_ERRS() << "Face reference data corrupt for rigged type " << i
+ << ((mRiggedFace[i].size() <= index) ? "; wrong index (out of bounds)" : (mRiggedFace[i][index] != facep) ? "; wrong face pointer" : "")
+ << LL_ENDL;
}
}
}