aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2009-01-11 16:10:39 -0600
committerJacek Antonelli2009-01-11 16:10:43 -0600
commita87e38229921b48c32187c672a942516722f1b52 (patch)
tree9e1dc0bc2318a9c6fa454bdb6d873a6af0e0ce3c /linden/indra/newview/llvoavatar.cpp
parentSecond Life viewer sources 1.22.4-RC (diff)
downloadmeta-impy-a87e38229921b48c32187c672a942516722f1b52.zip
meta-impy-a87e38229921b48c32187c672a942516722f1b52.tar.gz
meta-impy-a87e38229921b48c32187c672a942516722f1b52.tar.bz2
meta-impy-a87e38229921b48c32187c672a942516722f1b52.tar.xz
Second Life viewer sources 1.22.5-RC
Diffstat (limited to 'linden/indra/newview/llvoavatar.cpp')
-rw-r--r--linden/indra/newview/llvoavatar.cpp18
1 files changed, 17 insertions, 1 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 557a6d9..42976ed 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -4,7 +4,7 @@
4 * 4 *
5 * $LicenseInfo:firstyear=2001&license=viewergpl$ 5 * $LicenseInfo:firstyear=2001&license=viewergpl$
6 * 6 *
7 * Copyright (c) 2001-2008, Linden Research, Inc. 7 * Copyright (c) 2001-2009, Linden Research, Inc.
8 * 8 *
9 * Second Life Viewer Source Code 9 * Second Life Viewer Source Code
10 * The source code in this file ("Source Code") is provided by Linden Lab 10 * The source code in this file ("Source Code") is provided by Linden Lab
@@ -1069,6 +1069,22 @@ void LLVOAvatar::deleteLayerSetCaches()
1069 if( mLowerBodyLayerSet ) mLowerBodyLayerSet->deleteCaches(); 1069 if( mLowerBodyLayerSet ) mLowerBodyLayerSet->deleteCaches();
1070 if( mEyesLayerSet ) mEyesLayerSet->deleteCaches(); 1070 if( mEyesLayerSet ) mEyesLayerSet->deleteCaches();
1071 if( mSkirtLayerSet ) mSkirtLayerSet->deleteCaches(); 1071 if( mSkirtLayerSet ) mSkirtLayerSet->deleteCaches();
1072
1073 if(mUpperMaskTexName)
1074 {
1075 glDeleteTextures(1, (GLuint*)&mUpperMaskTexName);
1076 mUpperMaskTexName = 0 ;
1077 }
1078 if(mHeadMaskTexName)
1079 {
1080 glDeleteTextures(1, (GLuint*)&mHeadMaskTexName);
1081 mHeadMaskTexName = 0 ;
1082 }
1083 if(mLowerMaskTexName)
1084 {
1085 glDeleteTextures(1, (GLuint*)&mLowerMaskTexName);
1086 mLowerMaskTexName = 0 ;
1087 }
1072} 1088}
1073 1089
1074// static 1090// static