From d45140a396f49c40a4575e02d946ad64a9a77029 Mon Sep 17 00:00:00 2001 From: Tozh Date: Thu, 30 Jun 2011 00:21:49 -0400 Subject: [PATCH] Added logging for profile panel viewes. --- indra/newview/llpanelprofileview.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/llpanelprofileview.cpp b/indra/newview/llpanelprofileview.cpp index 140fdf0c79..6682190e44 100644 --- a/indra/newview/llpanelprofileview.cpp +++ b/indra/newview/llpanelprofileview.cpp @@ -65,6 +65,7 @@ public: const LLAvatarData* avatar_data = static_cast(data); if(avatar_data && mProfileView->getAvatarId() == avatar_data->avatar_id) { + llinfos << "processing online status in the AvatarStatusObserver, will remove it." << llendl; mProfileView->processOnlineStatus(avatar_data->flags & AVATAR_ONLINE); LLAvatarPropertiesProcessor::instance().removeObserver(mProfileView->getAvatarId(), this); } @@ -95,6 +96,8 @@ LLPanelProfileView::~LLPanelProfileView(void) /*virtual*/ void LLPanelProfileView::onOpen(const LLSD& key) { + llinfos << "opening profile" << llendl; + LLUUID id; if(key.has("id")) { @@ -228,6 +231,7 @@ void LLPanelProfileView::updateOnlineStatus() // subscribe observer to get online status. Request will be sent by LLPanelAvatarProfile itself. // do not subscribe for friend avatar because online status can be wrong overridden // via LLAvatarData::flags if Preferences: "Only Friends & Groups can see when I am online" is set. + llinfos << "subscribing to AvatarStatusObserver for the profile" << llendl; mAvatarStatusObserver->subscribe(); return; }