diff options
| author | callum_linden <none@none> | 2018-03-01 14:33:47 -0800 |
|---|---|---|
| committer | callum_linden <none@none> | 2018-03-01 14:33:47 -0800 |
| commit | f4867d032dfe93b249eb188f071cb309e3a7b23e (patch) | |
| tree | 144bb92ed630302d1d68910069ad2505946eb471 /indra/newview/llmutelist.cpp | |
| parent | 278382abd72a02b5e190cb259d2b4806f3908902 (diff) | |
| parent | f8c76535a35aaf245e261357a59e977bac5b2501 (diff) | |
Automated merge with tip of viewer-release
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) |
