diff options
| author | Eric M. Tulla (BigPapi) <tulla@lindenlab.com> | 2010-02-04 15:52:07 -0500 | 
|---|---|---|
| committer | Eric M. Tulla (BigPapi) <tulla@lindenlab.com> | 2010-02-04 15:52:07 -0500 | 
| commit | b3f4c6fb7ad79501fa91e14cc93ef3dcd1cce8ae (patch) | |
| tree | b7ba9af7b2551ea45e651db0492af20ab4a17d19 /indra/newview/llstartup.cpp | |
| parent | 76cf7ebf7037c2e579861c64c38fc24bde165669 (diff) | |
EXT-4841 - Expand one of the outfits in the outfits tab for new users so they can get a sense of their contents.
Also moved the My Outfits autopopulation from the library out of where it was done before (as a result of
initial wearables message) to be done in the idle login during the precaching state.
-Reviewed by Nyx
Diffstat (limited to 'indra/newview/llstartup.cpp')
| -rw-r--r-- | indra/newview/llstartup.cpp | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 9fda77fe74..a402dfc3d1 100644 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -1876,6 +1876,17 @@ bool idle_startup()  				LLViewerShaderMgr::instance()->setShaders();  			}  		} +		 +		// If this is the very first time the user has logged into viewer2+ (from a legacy viewer, or new account) +		// then auto-populate outfits from the library into the My Outfits folder. +		static bool check_populate_my_outfits = true; +		if (check_populate_my_outfits &&  +			(LLInventoryModel::getIsFirstTimeInViewer2()  +			 || gSavedSettings.getBOOL("MyOutfitsAutofill"))) +		{ +			gAgentWearables.populateMyOutfitsFolder(); +		} +		check_populate_my_outfits = false;  		return TRUE;  	} | 
