From 9bddb5f6d21d97e164db962c31c310b906eb520e Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 5 Aug 2014 23:24:55 +0200 Subject: [PATCH] Crash protection. --- indra/newview/llvovolume.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index a2cc3c64d4..8a993758f4 100755 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -4750,7 +4750,10 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) pAvatarVO->postPelvisSetRecalc(); } - if (pool) + // need an texture entry, or we crash + // if (pool) + if (pool && facep->getTextureEntry() ) + // { const LLTextureEntry* te = facep->getTextureEntry();