aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r--linden/indra/newview/llagent.cpp9
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
6432extern LLString gInitialOutfit;
6432 6433
6433// static 6434// static
6434void LLAgent::processAgentInitialWearablesUpdate( LLMessageSystem* mesgsys, void** user_data ) 6435void 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