From e4fd681d835380526e39d83073550072a745a202 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 16 Jan 2009 16:13:29 -0600 Subject: Removed some dead code in LLInventoryViewFinder. --- ChangeLog.txt | 4 ++++ linden/indra/newview/llinventoryview.cpp | 27 --------------------------- 2 files changed, 4 insertions(+), 27 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 7da2cd8..25dec01 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,10 @@ 2009-01-16 Jacek Antonelli * linden/indra/newview/llinventoryview.cpp: + Removed some dead code in LLInventoryViewFinder. + + + * linden/indra/newview/llinventoryview.cpp: Removed now-useless LLInventoryViewFinder::draw(). * linden/indra/newview/llinventoryview.h: Ditto. diff --git a/linden/indra/newview/llinventoryview.cpp b/linden/indra/newview/llinventoryview.cpp index 1118f54..f7147b6 100644 --- a/linden/indra/newview/llinventoryview.cpp +++ b/linden/indra/newview/llinventoryview.cpp @@ -386,20 +386,7 @@ void LLInventoryViewFinder::selectAllTypes(void* user_data) self->childSetValue("check_texture", TRUE); self->childSetValue("check_snapshot", TRUE); -/* - self->mCheckCallingCard->set(TRUE); - self->mCheckClothing->set(TRUE); - self->mCheckGesture->set(TRUE); - self->mCheckLandmark->set(TRUE); - self->mCheckNotecard->set(TRUE); - self->mCheckObject->set(TRUE); - self->mCheckScript->set(TRUE); - self->mCheckSound->set(TRUE); - self->mCheckTexture->set(TRUE); - self->mCheckSnapshot->set(TRUE);*/ - self->rebuildFilter(); - } //static @@ -408,20 +395,6 @@ void LLInventoryViewFinder::selectNoTypes(void* user_data) LLInventoryViewFinder* self = (LLInventoryViewFinder*)user_data; if(!self) return; - /* - self->childSetValue("check_animation", FALSE); - self->mCheckCallingCard->set(FALSE); - self->mCheckClothing->set(FALSE); - self->mCheckGesture->set(FALSE); - self->mCheckLandmark->set(FALSE); - self->mCheckNotecard->set(FALSE); - self->mCheckObject->set(FALSE); - self->mCheckScript->set(FALSE); - self->mCheckSound->set(FALSE); - self->mCheckTexture->set(FALSE); - self->mCheckSnapshot->set(FALSE);*/ - - self->childSetValue("check_animation", FALSE); self->childSetValue("check_bodypart", FALSE); self->childSetValue("check_calling_card", FALSE); -- cgit v1.1