summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerpartsource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llviewerpartsource.cpp')
-rw-r--r--indra/newview/llviewerpartsource.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerpartsource.cpp b/indra/newview/llviewerpartsource.cpp
index 96e8863ec8..414d94e8ad 100644
--- a/indra/newview/llviewerpartsource.cpp
+++ b/indra/newview/llviewerpartsource.cpp
@@ -285,6 +285,12 @@ void LLViewerPartSourceScript::update(const F32 dt)
//llwarns << "Unknown source pattern " << (S32)mPartSysData.mPattern << llendl;
}
+ if (part->mFlags & LLPartData::LL_PART_FOLLOW_SRC_MASK || // SVC-193, VWR-717
+ part->mFlags & LLPartData::LL_PART_TARGET_LINEAR_MASK)
+ {
+ mPartSysData.mBurstRadius = 0;
+ }
+
gWorldPointer->mPartSim.addPart(part);
}