diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 63ab827303..8fa0913702 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -6586,6 +6586,14 @@ U32 LLVolumeGeometryManager::genDrawInfo(LLSpatialGroup* group, U32 mask, LLFace LLFace* facep = *face_iter; LLViewerTexture* tex = facep->getTexture(); const LLTextureEntry* te = facep->getTextureEntry(); + // Don't batch fully transparent faces + if (te && ( te->getAlpha() == 0.f ) && ( te->getGlow() == 0.0 ) && !LLDrawPoolAlpha::sShowDebugAlpha) + { + facep->setSize(0,0); + ++face_iter; + continue; + } + // LLMaterialPtr mat = te->getMaterialParams(); LLMaterialID matId = te->getMaterialID();