aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/lldrawable.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:45:55 -0500
committerJacek Antonelli2008-08-15 23:45:55 -0500
commit9063e60aefe54f7c45aaa8cb24e8998b2c7343ab (patch)
tree1c8235465701c910a5d76448ddc8eb1f14457ebc /linden/indra/newview/lldrawable.cpp
parentSecond Life viewer sources 1.20.9 (diff)
downloadmeta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.zip
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.gz
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.bz2
meta-impy-9063e60aefe54f7c45aaa8cb24e8998b2c7343ab.tar.xz
Second Life viewer sources 1.20.10
Diffstat (limited to 'linden/indra/newview/lldrawable.cpp')
-rw-r--r--linden/indra/newview/lldrawable.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/lldrawable.cpp b/linden/indra/newview/lldrawable.cpp
index db57509..a228f68 100644
--- a/linden/indra/newview/lldrawable.cpp
+++ b/linden/indra/newview/lldrawable.cpp
@@ -122,6 +122,11 @@ void LLDrawable::destroy()
122 sNumZombieDrawables--; 122 sNumZombieDrawables--;
123 } 123 }
124 124
125 if (LLSpatialGroup::sNoDelete)
126 {
127 llerrs << "Illegal deletion of LLDrawable!" << llendl;
128 }
129
125 LLFace::sDeleteLock = mFaces.size() ; 130 LLFace::sDeleteLock = mFaces.size() ;
126 std::for_each(mFaces.begin(), mFaces.end(), DeletePointer()); 131 std::for_each(mFaces.begin(), mFaces.end(), DeletePointer());
127 mFaces.clear(); 132 mFaces.clear();