#3442 Crash at LLDrawable::isState

master
Maxim Nikolenko 2025-01-21 16:25:01 +02:00 committed by GitHub
parent 75e01f894d
commit f490bf6463
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 1 deletions

View File

@ -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;