Fix sculpt discard level being discarded due to shadowing outer scope discard_level (#2249)

master
Rye Mutt 2024-08-12 00:15:21 -04:00 committed by GitHub
parent dff3fdbfd7
commit af2b5a3c58
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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)