Crash protection.

Nicky 2014-08-05 23:24:55 +02:00
parent 6552a8468f
commit 9bddb5f6d2
1 changed files with 4 additions and 1 deletions

View File

@ -4750,7 +4750,10 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
pAvatarVO->postPelvisSetRecalc();
}
if (pool)
// <FS:ND> need an texture entry, or we crash
// if (pool)
if (pool && facep->getTextureEntry() )
// </FS:ND>
{
const LLTextureEntry* te = facep->getTextureEntry();