From 688c4480e47e5f57e784e7b7fa4be9ac8caf002e Mon Sep 17 00:00:00 2001 From: Ansariel Date: Wed, 22 Jan 2014 15:54:42 +0100 Subject: [PATCH] FIRE-2323 / FIRE-5966: Added some debugging code and moved AgentDataUpdateRequest in startup sequence before inventory (maybe response gets lost same as what happened with mutelist and money balance request earlier) --- indra/newview/llagent.cpp | 12 ++++++++++++ indra/newview/llimview.cpp | 10 ++++++++-- indra/newview/llpanelgroupgeneral.cpp | 12 ++++++++++++ indra/newview/llstartup.cpp | 13 +++++++++---- 4 files changed, 41 insertions(+), 6 deletions(-) diff --git a/indra/newview/llagent.cpp b/indra/newview/llagent.cpp index fc87d0ef79..7130bcc683 100644 --- a/indra/newview/llagent.cpp +++ b/indra/newview/llagent.cpp @@ -3832,6 +3832,12 @@ void LLAgent::processAgentGroupDataUpdate(LLMessageSystem *msg, void **) llwarns << "processAgentGroupDataUpdate for agent other than me" << llendl; return; } + // Groupdata debug + else + { + LL_INFOS("Agent_GroupData") << "GROUPDEBUG: Executing deprecated processAgentGroupDataUpdate" << LL_ENDL; + } + // S32 count = msg->getNumberOfBlocksFast(_PREHASH_GroupData); LLGroupData group; @@ -3884,6 +3890,12 @@ class LLAgentGroupDataUpdateViewerNode : public LLHTTPNode llwarns << "processAgentGroupDataUpdate for agent other than me" << llendl; return; } + // Groupdata debug + else + { + LL_INFOS("Agent_GroupData") << "GROUPDEBUG: Executing processAgentGroupDataUpdate" << LL_ENDL; + } + // LLSD group_data = body["GroupData"]; diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 2c90f374b7..791dfb81e3 100755 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -4063,7 +4063,7 @@ public: } // [/RLVa:KB] - // Mute group chat port from Phoenix + // Mute group chat port from Phoenix BOOL FSMuteAllGroups = gSavedSettings.getBOOL("FSMuteAllGroups"); BOOL FSMuteGroupWhenNoticesDisabled = gSavedSettings.getBOOL("FSMuteGroupWhenNoticesDisabled"); LLGroupData group_data; @@ -4101,7 +4101,13 @@ public: return; } } - // END: Mute group chat port from Phoenix + // Groupdata debug + else + { + LL_INFOS("Agent_GroupData") << "GROUPDEBUG: Group chat mute: No agent group data for group " << session_id.asString() << LL_ENDL; + } + // + // Mute group chat port from Phoenix // standard message, not from system std::string saved; diff --git a/indra/newview/llpanelgroupgeneral.cpp b/indra/newview/llpanelgroupgeneral.cpp index 1f6f19ff2d..440ac6f2b4 100755 --- a/indra/newview/llpanelgroupgeneral.cpp +++ b/indra/newview/llpanelgroupgeneral.cpp @@ -173,6 +173,12 @@ BOOL LLPanelGroupGeneral::postBuild() accept_notices = data.mAcceptNotices; list_in_profile = data.mListInProfile; } + // Groupdata debug + else + { + LL_INFOS("Agent_GroupData") << "GROUPDEBUG: Group panel: No agent group data for group " << mGroupID.asString() << LL_ENDL; + } + // mCtrlReceiveNotices = getChild("receive_notices", recurse); if (mCtrlReceiveNotices) { @@ -1037,6 +1043,12 @@ void LLPanelGroupGeneral::setGroupID(const LLUUID& id) accept_notices = data.mAcceptNotices; list_in_profile = data.mListInProfile; } + // Groupdata debug + else + { + LL_INFOS("Agent_GroupData") << "GROUPDEBUG: Group panel: No agent group data for group " << mGroupID.asString() << LL_ENDL; + } + // mCtrlReceiveNotices = getChild("receive_notices"); if (mCtrlReceiveNotices) { diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index dc8faf7d47..7c5c9032bc 100755 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -2005,6 +2005,11 @@ LLWorld::getInstance()->addRegion(gFirstSimHandle, gFirstSim, first_sim_size_x, llinfos << "Requesting Money Balance" << llendl; LLStatusBar::sendMoneyBalanceRequest(); + display_startup(); + + // request all group information + LL_INFOS("Agent_GroupData") << "GROUPDEBUG: Requesting Agent Data during startup" << LL_ENDL; + gAgent.sendAgentDataUpdateRequest(); display_startup(); // @@ -2181,12 +2186,12 @@ LLWorld::getInstance()->addRegion(gFirstSimHandle, gFirstSim, first_sim_size_x, //llinfos << "Requesting Money Balance" << llendl; //LLStatusBar::sendMoneyBalanceRequest(); + //display_startup(); + //// request all group information + //llinfos << "Requesting Agent Data" << llendl; + //gAgent.sendAgentDataUpdateRequest(); //display_startup(); // - // request all group information - llinfos << "Requesting Agent Data" << llendl; - gAgent.sendAgentDataUpdateRequest(); - display_startup(); // Create the inventory views llinfos << "Creating Inventory Views" << llendl;