diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2018-03-01 19:38:21 -0500 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2018-03-01 19:38:21 -0500 |
commit | 12ccb65603ec50ac80d85c4e023ec8e026c9e1f2 (patch) | |
tree | f7bfc4b64718278041f46e1759f5de27c9d83864 /indra/newview/llmutelist.cpp | |
parent | 2e87bac8f9983faa6a1e46ee626d688a101fa070 (diff) | |
parent | 3c7086d4fff6c370f8ce2be51cab2502f663aab1 (diff) |
Automated merge with ssh://bitbucket.org/lindenlab/viewer-451
Diffstat (limited to 'indra/newview/llmutelist.cpp')
-rw-r--r-- | indra/newview/llmutelist.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/indra/newview/llmutelist.cpp b/indra/newview/llmutelist.cpp index bf1716e18c..64df449c26 100644 --- a/indra/newview/llmutelist.cpp +++ b/indra/newview/llmutelist.cpp @@ -316,14 +316,7 @@ BOOL LLMuteList::add(const LLMute& mute, U32 flags) updateAdd(localmute); notifyObservers(); notifyObserversDetailed(localmute); - if(!(localmute.mFlags & LLMute::flagParticles)) - { - //Kill all particle systems owned by muted task - if(localmute.mType == LLMute::AGENT || localmute.mType == LLMute::OBJECT) - { - LLViewerPartSim::getInstance()->clearParticlesByOwnerID(localmute.mID); - } - } + //mute local lights that are attached to the avatar LLVOAvatar *avatarp = find_avatar(localmute.mID); if (avatarp) |