From fe2a07a80f4f0ae913078cca11a5242c24e550ed Mon Sep 17 00:00:00 2001
From: Dave Parks <davep@lindenlab.com>
Date: Fri, 11 Nov 2022 14:34:57 -0600
Subject: [PATCH] SL-18616 Fix for dropping mOverrideAlphaMode on copy

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

diff --git a/indra/llprimitive/llgltfmaterial.cpp b/indra/llprimitive/llgltfmaterial.cpp
index 6d23cb80399..6fbcf504825 100644
--- a/indra/llprimitive/llgltfmaterial.cpp
+++ b/indra/llprimitive/llgltfmaterial.cpp
@@ -88,7 +88,7 @@ LLGLTFMaterial& LLGLTFMaterial::operator=(const LLGLTFMaterial& rhs)
     mTextureTransform = rhs.mTextureTransform;
 
     mOverrideDoubleSided = rhs.mOverrideDoubleSided;
-    mOverrideAlphaMode = rhs.mOverrideDoubleSided;
+    mOverrideAlphaMode = rhs.mOverrideAlphaMode;
 
     return *this;
 }
-- 
GitLab