diff options
author | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
commit | 7e3007b63521c4b0c5bbad1c3964a557fc526ce2 (patch) | |
tree | ab231ed574db618873d6ebb25293cf7c0cb6d26e /linden/indra/newview/llagent.cpp | |
parent | Second Life viewer sources 1.20.10 (diff) | |
download | meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.zip meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.gz meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.bz2 meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.xz |
Second Life viewer sources 1.20.11
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r-- | linden/indra/newview/llagent.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp index 1d3c5d4..b65a1f6 100644 --- a/linden/indra/newview/llagent.cpp +++ b/linden/indra/newview/llagent.cpp | |||
@@ -6429,6 +6429,7 @@ BOOL LLAgent::isWearingItem( const LLUUID& item_id ) | |||
6429 | return (getWearableFromWearableItem( item_id ) != NULL); | 6429 | return (getWearableFromWearableItem( item_id ) != NULL); |
6430 | } | 6430 | } |
6431 | 6431 | ||
6432 | extern LLString gInitialOutfit; | ||
6432 | 6433 | ||
6433 | // static | 6434 | // static |
6434 | void LLAgent::processAgentInitialWearablesUpdate( LLMessageSystem* mesgsys, void** user_data ) | 6435 | void LLAgent::processAgentInitialWearablesUpdate( LLMessageSystem* mesgsys, void** user_data ) |
@@ -6468,8 +6469,12 @@ void LLAgent::processAgentInitialWearablesUpdate( LLMessageSystem* mesgsys, void | |||
6468 | //avatar->createStandardWearables(); | 6469 | //avatar->createStandardWearables(); |
6469 | 6470 | ||
6470 | // no, deal with it by noting that we need to choose a | 6471 | // no, deal with it by noting that we need to choose a |
6471 | // gender. | 6472 | // gender, but only if an initial outfit load isn't happening. |
6472 | gAgent.setGenderChosen(FALSE); | 6473 | // This whole check (num_wearables < 4) can probably be deleted. JC |
6474 | if (gInitialOutfit.empty()) | ||
6475 | { | ||
6476 | gAgent.setGenderChosen(FALSE); | ||
6477 | } | ||
6473 | return; | 6478 | return; |
6474 | } | 6479 | } |
6475 | 6480 | ||