From ad7a316922454a103071066ee95911e91f3e9b08 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 16 Jan 2009 19:33:06 -0600 Subject: Fixed texture picker not showing textures. --- linden/indra/newview/lltexturectrl.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'linden/indra/newview') diff --git a/linden/indra/newview/lltexturectrl.cpp b/linden/indra/newview/lltexturectrl.cpp index 382a4f3..6b84be4 100644 --- a/linden/indra/newview/lltexturectrl.cpp +++ b/linden/indra/newview/lltexturectrl.cpp @@ -237,11 +237,7 @@ LLFloaterTexturePicker::LLFloaterTexturePicker( if(mInventoryPanel) { - U32 filter_types = 0x0; - filter_types |= 0x1 << LLInventoryType::IT_TEXTURE; - filter_types |= 0x1 << LLInventoryType::IT_SNAPSHOT; - - mInventoryPanel->setFilterTypes(filter_types); + mInventoryPanel->setFilterTypes( LLInventoryType::NIT_IMAGE ); //mInventoryPanel->setFilterPermMask(getFilterPermMask()); //Commented out due to no-copy texture loss. mInventoryPanel->setFilterPermMask(immediate_filter_perm_mask); mInventoryPanel->setSelectCallback(onSelectionChange, this); -- cgit v1.1