aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
authorArmin Weatherwax2010-04-26 14:34:27 +0200
committerArmin Weatherwax2010-04-28 19:15:03 +0200
commit6360bdffd4c513ea0d4cf59c9b1a68d7cf62f65c (patch)
tree60b044fcef0bcbf5c75ee3051d3e51f82f1295d5 /linden/indra/newview/llagent.cpp
parentfix: crash on relog; appearence self pie greyed out after relog. (diff)
downloadmeta-impy-6360bdffd4c513ea0d4cf59c9b1a68d7cf62f65c.zip
meta-impy-6360bdffd4c513ea0d4cf59c9b1a68d7cf62f65c.tar.gz
meta-impy-6360bdffd4c513ea0d4cf59c9b1a68d7cf62f65c.tar.bz2
meta-impy-6360bdffd4c513ea0d4cf59c9b1a68d7cf62f65c.tar.xz
fix: Bug #163 new clothing is created in Lost&Found after logging back in.
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llagent.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp
index ebdbc53..c44fe3a 100644
--- a/linden/indra/newview/llagent.cpp
+++ b/linden/indra/newview/llagent.cpp
@@ -458,8 +458,15 @@ void LLAgent::init()
458//----------------------------------------------------------------------------- 458//-----------------------------------------------------------------------------
459void LLAgent::cleanup() 459void LLAgent::cleanup()
460{ 460{
461 mInitialized = FALSE; 461 // cleanup wearables
462 for( S32 i = 0; i < WT_COUNT; i++ )
463 {
464 mWearableEntry[ i ].mWearable = NULL;
465 mWearableEntry[ i ].mItemID.setNull();
466 }
462 mWearablesLoaded = FALSE; 467 mWearablesLoaded = FALSE;
468
469 mInitialized = FALSE;
463 mShowAvatar = TRUE; 470 mShowAvatar = TRUE;
464 471
465 setSitCamera(LLUUID::null); 472 setSitCamera(LLUUID::null);