summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobjectlist.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-04-07 13:50:47 -0500
committerDave Parks <davep@lindenlab.com>2010-04-07 13:50:47 -0500
commit666c7c429b7f38f7c93bf6c287157c2e3ab9ccd7 (patch)
tree8f3e9399dbc5cab6c28c5992b579368bb0aa8949 /indra/newview/llviewerobjectlist.cpp
parent8ac6310020bd2d524c97c729c29a0afe4a529ecf (diff)
parentb6d3d2281b855448bbeec33b2d229222d75cd6b1 (diff)
merge
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r--indra/newview/llviewerobjectlist.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp
index 752aeaaab0..7ba28fef32 100644
--- a/indra/newview/llviewerobjectlist.cpp
+++ b/indra/newview/llviewerobjectlist.cpp
@@ -871,8 +871,12 @@ void LLViewerObjectList::cleanupReferences(LLViewerObject *objectp)
mNumDeadObjects++;
}
+static LLFastTimer::DeclareTimer FTM_REMOVE_DRAWABLE("Remove Drawable");
+
void LLViewerObjectList::removeDrawable(LLDrawable* drawablep)
{
+ LLFastTimer t(FTM_REMOVE_DRAWABLE);
+
if (!drawablep)
{
return;