diff options
| author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-11-09 16:09:51 +0200 |
|---|---|---|
| committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-11-09 16:09:51 +0200 |
| commit | 17c22d317f93abc61c68e05a36f56a0359f282ef (patch) | |
| tree | 4853f0cfc982ddc8a3844e26b313fd6e5e7ee3f6 /indra/newview/llmutelist.cpp | |
| parent | a4c3f5aaaec6a190381bfe31ceec97ed31e010f1 (diff) | |
MAINT-2880 Particle generator object doesn't start displaying particles, when unblocking the owner of this object
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) |
