diff options
author | Oz Linden <oz@lindenlab.com> | 2015-02-22 08:30:13 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-02-22 08:30:13 -0500 |
commit | c1e73c77f1181010059d0364500220bf1ac08d45 (patch) | |
tree | ed949d4ecfd38b0cfd287a15df97ed76e88d5f39 | |
parent | d12f3d15d986231cbd2e3714ce39247b2b6bc30f (diff) |
add visual mute status to rendering info reported to the simulator
-rw-r--r-- | indra/newview/llavatarrenderinfoaccountant.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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() |