SL-19805 Follow-up fix

meow-7.2.2
Andrey Lihatskiy 2023-06-23 22:26:52 +03:00 committed by marchcat-pe
parent f137e04c38
commit 5eef9143d0
1 changed files with 2 additions and 2 deletions

View File

@ -5866,8 +5866,8 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
else if (LLDrawPoolAlpha::sShowDebugAlpha ||
(gPipeline.sRenderHighlight && !drawablep->getParent() &&
drawablep->getVObj() && drawablep->getVObj()->flagScripted() &&
(LLPipeline::getRenderScriptedBeacons() ||
LLPipeline::getRenderScriptedTouchBeacons() && drawablep->getVObj()->flagHandleTouch())))
(LLPipeline::getRenderScriptedBeacons() || LLPipeline::getRenderScriptedTouchBeacons()) &&
drawablep->getVObj()->flagHandleTouch()))
{ //draw the transparent face for debugging purposes using a custom texture
add_face(sAlphaFaces, alpha_count, facep);
}