diff options
Diffstat (limited to 'linden/indra/newview/llvopartgroup.cpp')
-rw-r--r-- | linden/indra/newview/llvopartgroup.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llvopartgroup.cpp b/linden/indra/newview/llvopartgroup.cpp index 94027a3..791b4ab 100644 --- a/linden/indra/newview/llvopartgroup.cpp +++ b/linden/indra/newview/llvopartgroup.cpp | |||
@@ -435,7 +435,7 @@ void LLParticlePartition::addGeometryCount(LLSpatialGroup* group, U32& vertex_co | |||
435 | drawablep->updateFaceSize(j); | 435 | drawablep->updateFaceSize(j); |
436 | 436 | ||
437 | LLFace* facep = drawablep->getFace(j); | 437 | LLFace* facep = drawablep->getFace(j); |
438 | if (!facep->hasGeometry()) | 438 | if ( !facep || !facep->hasGeometry()) |
439 | { | 439 | { |
440 | continue; | 440 | continue; |
441 | } | 441 | } |