Skip to content

Commit f490bf6

Browse files
#3442 Crash at LLDrawable::isState
1 parent 75e01f8 commit f490bf6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

indra/newview/pipeline.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3855,7 +3855,12 @@ void LLPipeline::renderSelectedFaces(const LLColor4& color)
38553855

38563856
for (auto facep : mSelectedFaces)
38573857
{
3858-
if (!facep || facep->getDrawable()->isDead())
3858+
if (!facep || !facep->getViewerObject())
3859+
{
3860+
LLSelectMgr::getInstance()->clearSelections();
3861+
return;
3862+
}
3863+
if (!facep->getDrawable() || facep->getDrawable()->isDead())
38593864
{
38603865
LL_ERRS() << "Bad face on selection" << LL_ENDL;
38613866
return;

0 commit comments

Comments
 (0)