diff options
author | Alexander Gavriliuk <alexandrgproductengine@lindenlab.com> | 2023-06-23 02:09:35 +0200 |
---|---|---|
committer | Guru <alexandrgproductengine@lindenlab.com> | 2023-06-23 14:47:32 +0200 |
commit | f137e04c38ece6a26709378f4adbe15d54f023a1 (patch) | |
tree | 67c4650edaf98ba3d7ba4c7495336b7369f7dae3 /indra | |
parent | d134d155e2ddaf07ba1cdac50c1e31781e451ee5 (diff) |
SL-19805 Second Life Viewer last update made invisible parts visible
Diffstat (limited to 'indra')
-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); } |