diff options
author | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-03-30 00:22:36 +0300 |
---|---|---|
committer | AndreyL ProductEngine <alihatskiy@productengine.com> | 2017-03-30 00:22:36 +0300 |
commit | f53e142e7dc0d613f6d3d9b3d276cdc8843cb143 (patch) | |
tree | ba1767fdeb064d8507a92b22edc21cf6b78391ae /indra | |
parent | 45dd355d46dc8ea5a0a6934722ffc76f9d955a9f (diff) |
MAINT-7128 Crash in LLDrawable::cleanupReferences - more informative logging
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/lldrawpoolavatar.cpp | 4 |
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; } } } |