viewer#1728 Crash in LLViewerRegion::probeCache
parent
148786999d
commit
f1a756bd76
|
|
@ -2836,7 +2836,11 @@ bool LLViewerRegion::probeCache(U32 local_id, U32 crc, U32 flags, U8 &cache_miss
|
|||
|
||||
if(entry->isState(LLVOCacheEntry::ACTIVE))
|
||||
{
|
||||
((LLDrawable*)entry->getEntry()->getDrawable())->getVObj()->loadFlags(flags);
|
||||
LLDrawable* drawable = (LLDrawable*)entry->getEntry()->getDrawable();
|
||||
if (drawable && drawable->getVObj())
|
||||
{
|
||||
drawable->getVObj()->loadFlags(flags);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue