summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2024-08-12 00:15:21 -0400
committerGitHub <noreply@github.com>2024-08-12 07:15:21 +0300
commitaf2b5a3c58999c12f7c5e091cd4703e358fe844c (patch)
tree3e49938f73b8357bf9dc3a6531731559fa2f36a8
parentdff3fdbfd7d0b29b51d4d6b7ecfd84177e114eb8 (diff)
Fix sculpt discard level being discarded due to shadowing outer scope discard_level (#2249)
-rw-r--r--indra/newview/llvovolume.cpp2
1 files changed, 1 insertions, 1 deletions
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)