Fix "Find all links" unhiding hidden empty system folders

Sat, 09 Dec 2017 22:08:19 +0100

author
Ansariel
date
Sat, 09 Dec 2017 22:08:19 +0100
changeset 53561
c9cc26715dfb
parent 53560
2197c9ec4358
child 53562
81b78f65f168

Fix "Find all links" unhiding hidden empty system folders

indra/newview/llinventoryfilter.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llinventoryfilter.cpp	Sat Dec 09 21:06:21 2017 +0100
     1.2 +++ b/indra/newview/llinventoryfilter.cpp	Sat Dec 09 22:08:19 2017 +0100
     1.3 @@ -866,6 +866,16 @@
     1.4  		{
     1.5  			mFilterOps.mFilterTypes &= ~FILTERTYPE_UUID;
     1.6  			mFilterOps.mFilterUUID = LLUUID::null;
     1.7 +			// <FS:Ansariel> Find all links unhiding hidden empty system folders
     1.8 +			if (gSavedSettings.getBOOL("DebugHideEmptySystemFolders"))
     1.9 +			{
    1.10 +				setFilterEmptySystemFolders();
    1.11 +			}
    1.12 +			else
    1.13 +			{
    1.14 +				removeFilterEmptySystemFolders();
    1.15 +			}
    1.16 +			// </FS:Ansariel>
    1.17  			setModified(FILTER_RESTART);
    1.18  		}
    1.19  	}

mercurial