From 63ae47d8fd479a3cb05ff1d2364d683975e1b052 Mon Sep 17 00:00:00 2001
From: Dave Parks <davep@lindenlab.com>
Date: Thu, 23 Feb 2023 15:19:56 -0600
Subject: [PATCH] SL-19236 Fix for HUDs not rendering when transparent water is
 disabled.

---
 indra/newview/pipeline.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp
index 0ef89afe611..8d9a2a876e8 100644
--- a/indra/newview/pipeline.cpp
+++ b/indra/newview/pipeline.cpp
@@ -2286,7 +2286,7 @@ void LLPipeline::updateCull(LLCamera& camera, LLCullResult& result)
     LL_PROFILE_ZONE_SCOPED_CATEGORY_PIPELINE; //LL_RECORD_BLOCK_TIME(FTM_CULL);
     LL_PROFILE_GPU_ZONE("updateCull"); // should always be zero GPU time, but drop a timer to flush stuff out
 
-    bool water_clip = !sRenderTransparentWater;
+    bool water_clip = !sRenderTransparentWater && !sRenderingHUDs;
 
     if (water_clip)
     {
-- 
GitLab