diff options
author | Maxim Nikolenko <maximnproductengine@lindenlab.com> | 2025-01-21 16:25:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-21 16:25:01 +0200 |
commit | f490bf6463e5b4b46fd940adc6bba19ebc11591d (patch) | |
tree | d5d70df13d3c30e2fe8f2af0968144ca977a6188 /indra/newview | |
parent | 75e01f894d52f75c1a79746bf2d3294b3ca48afe (diff) |
#3442 Crash at LLDrawable::isState
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/pipeline.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 38f158c1df..c6e6c454de 100644 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -3855,7 +3855,12 @@ void LLPipeline::renderSelectedFaces(const LLColor4& color) for (auto facep : mSelectedFaces) { - if (!facep || facep->getDrawable()->isDead()) + if (!facep || !facep->getViewerObject()) + { + LLSelectMgr::getInstance()->clearSelections(); + return; + } + if (!facep->getDrawable() || facep->getDrawable()->isDead()) { LL_ERRS() << "Bad face on selection" << LL_ENDL; return; |