diff options
author | Andrey Kleshchev <andreykproductengine@lindenlab.com> | 2024-06-12 12:17:35 +0300 |
---|---|---|
committer | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2024-06-12 16:38:39 +0300 |
commit | 63ef1d1a6a9e92e4d6033b0949c8d730a7deb68c (patch) | |
tree | 6a548735a8747e040ed4d617a3bd145de9df719b /indra | |
parent | 8b18906f6c9d0778dac4ca0a7f58d6189a33f470 (diff) |
viewer#1731 Crash at LLPipeline::markVisible
mDrawable pointer had junk in it
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index d22206ca98..bc713c4457 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -10237,7 +10237,7 @@ void LLPipeline::generateImpostor(LLVOAvatar* avatar, bool preview_avatar, bool result.clear(); grabReferences(result); - if (!avatar || !avatar->mDrawable) + if (!avatar || avatar->isDead() || !avatar->mDrawable) { LL_WARNS_ONCE("AvatarRenderPipeline") << "Avatar is " << (avatar ? "not drawable" : "null") << LL_ENDL; return; |