From af2b5a3c58999c12f7c5e091cd4703e358fe844c Mon Sep 17 00:00:00 2001 From: Rye Mutt Date: Mon, 12 Aug 2024 00:15:21 -0400 Subject: Fix sculpt discard level being discarded due to shadowing outer scope discard_level (#2249) --- indra/newview/llvovolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/newview/llvovolume.cpp') diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index 9ebe648680..7a7d88327b 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1250,7 +1250,7 @@ void LLVOVolume::sculpt() if (!raw_image) { raw_image = mSculptTexture->getSavedRawImage(); - S32 discard_level = mSculptTexture->getSavedRawImageLevel(); + discard_level = mSculptTexture->getSavedRawImageLevel(); } if (!raw_image) -- cgit v1.2.3