diff options
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/llvovolume.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 7a73ee1339..efcb049c3f 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -5864,9 +5864,10 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)  								add_face(sAlphaFaces, alpha_count, facep);  							}  							else if (LLDrawPoolAlpha::sShowDebugAlpha || -								(gPipeline.sRenderHighlight && -								(LLPipeline::getRenderScriptedBeacons() || LLPipeline::getRenderScriptedTouchBeacons()) && -								drawablep->getVObj() && drawablep->getVObj()->flagScripted())) +								(gPipeline.sRenderHighlight && !drawablep->getParent() && +								drawablep->getVObj() && drawablep->getVObj()->flagScripted() && +								(LLPipeline::getRenderScriptedBeacons() || +								LLPipeline::getRenderScriptedTouchBeacons() && drawablep->getVObj()->flagHandleTouch())))  							{ //draw the transparent face for debugging purposes using a custom texture  								add_face(sAlphaFaces, alpha_count, facep);  							}  | 
