aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llagent.cpp
diff options
context:
space:
mode:
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);