diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-08-12 00:15:21 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-12 07:15:21 +0300 |
commit | af2b5a3c58999c12f7c5e091cd4703e358fe844c (patch) | |
tree | 3e49938f73b8357bf9dc3a6531731559fa2f36a8 | |
parent | dff3fdbfd7d0b29b51d4d6b7ecfd84177e114eb8 (diff) |
Fix sculpt discard level being discarded due to shadowing outer scope discard_level (#2249)
-rw-r--r-- | indra/newview/llvovolume.cpp | 2 |
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) |