diff options
author | Armin Weatherwax | 2010-04-26 14:34:27 +0200 |
---|---|---|
committer | Armin Weatherwax | 2010-04-28 19:15:03 +0200 |
commit | 6360bdffd4c513ea0d4cf59c9b1a68d7cf62f65c (patch) | |
tree | 60b044fcef0bcbf5c75ee3051d3e51f82f1295d5 /linden/indra/newview/llagent.cpp | |
parent | fix: crash on relog; appearence self pie greyed out after relog. (diff) | |
download | meta-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.cpp | 9 |
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 | //----------------------------------------------------------------------------- |
459 | void LLAgent::cleanup() | 459 | void 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); |