#3442 Crash at LLDrawable::isState
parent
75e01f894d
commit
f490bf6463
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue