From c1e73c77f1181010059d0364500220bf1ac08d45 Mon Sep 17 00:00:00 2001 From: Oz Linden Date: Sun, 22 Feb 2015 08:30:13 -0500 Subject: add visual mute status to rendering info reported to the simulator --- indra/newview/llavatarrenderinfoaccountant.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/indra/newview/llavatarrenderinfoaccountant.cpp b/indra/newview/llavatarrenderinfoaccountant.cpp index cdaf97ff62..44e19b1449 100644 --- a/indra/newview/llavatarrenderinfoaccountant.cpp +++ b/indra/newview/llavatarrenderinfoaccountant.cpp @@ -51,6 +51,7 @@ static const std::string KEY_AGENTS = "agents"; // map static const std::string KEY_WEIGHT = "weight"; // integer +static const std::string KEY_MUTED = "muted"; // bool static const std::string KEY_IDENTIFIER = "identifier"; static const std::string KEY_MESSAGE = "message"; @@ -254,6 +255,7 @@ void LLAvatarRenderInfoAccountant::sendRenderInfoToRegion(LLViewerRegion * regio if (avatar->getVisualComplexity() > 0) { info[KEY_WEIGHT] = avatar->getVisualComplexity(); + info[KEY_MUTED] = avatar->isVisuallyMuted(); agents[avatar->getID().asString()] = info; LL_DEBUGS("AvatarRenderInfo") << "Sending avatar render info for " << avatar->getID() -- cgit v1.2.3