summaryrefslogtreecommitdiff
path: root/indra/llrender/llgltexture.cpp
diff options
context:
space:
mode:
authorCosmic Linden <cosmic@lindenlab.com>2024-04-11 17:26:02 -0700
committerCosmic Linden <cosmic@lindenlab.com>2024-04-11 17:26:02 -0700
commit47255bf44d04e5ba7b33d44f8cc738da4be9d53a (patch)
tree804e7a29577584d990b6b19a0e034d393343702e /indra/llrender/llgltexture.cpp
parentb7b962affd12d8559d3dcf8a70533548df8d6f25 (diff)
secondlife/viewer#1184: Stop making terrain textures undeletable
Diffstat (limited to 'indra/llrender/llgltexture.cpp')
-rw-r--r--indra/llrender/llgltexture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llgltexture.cpp b/indra/llrender/llgltexture.cpp
index b616002b49..a590a8e745 100644
--- a/indra/llrender/llgltexture.cpp
+++ b/indra/llrender/llgltexture.cpp
@@ -95,7 +95,8 @@ void LLGLTexture::setBoostLevel(S32 level)
mBoostLevel = level ;
if(mBoostLevel != LLGLTexture::BOOST_NONE
&& mBoostLevel != LLGLTexture::BOOST_ICON
- && mBoostLevel != LLGLTexture::BOOST_THUMBNAIL)
+ && mBoostLevel != LLGLTexture::BOOST_THUMBNAIL
+ && mBoostLevel != LLGLTexture::BOOST_TERRAIN)
{
setNoDelete() ;
}