From 08c09d839e0c19a6cfb272eca60d615ce2019f58 Mon Sep 17 00:00:00 2001
From: Rye Mutt <rye@alchemyviewer.org>
Date: Mon, 17 Jul 2023 23:55:46 -0400
Subject: [PATCH] Bonk

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

diff --git a/indra/newview/llface.cpp b/indra/newview/llface.cpp
index 5f66d64285a..6c99f648dec 100644
--- a/indra/newview/llface.cpp
+++ b/indra/newview/llface.cpp
@@ -1776,7 +1776,7 @@ BOOL LLFace::getGeometryVolume(const LLVolume& volume,
                         }
 
                         *dst++ = tc;
-                        if (do_bump)
+                        if ((!mat && !gltf_mat) && do_bump)
                         {
                             bump_tc.push_back(tc);
                         }
-- 
GitLab