summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerpartsource.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2013-05-07 17:21:32 -0500
committerDave Parks <davep@lindenlab.com>2013-05-07 17:21:32 -0500
commit592586052c9f0b4a189e5ebdeecb737ecd2eed9c (patch)
tree5cac6cd846b20b7d0282277c2ae6ef01a2660f0b /indra/newview/llviewerpartsource.cpp
parent2a59fef6beff7144085ea98ede4a3b4300248d7f (diff)
parentdbfcd6c9c5709b74365c2538ba312685b09d22bf (diff)
Automated merge with https://bitbucket.org/lindenlab/viewer-cat
Diffstat (limited to 'indra/newview/llviewerpartsource.cpp')
-rw-r--r--indra/newview/llviewerpartsource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llviewerpartsource.cpp b/indra/newview/llviewerpartsource.cpp
index 8c49ce646d..b6bbd6140d 100644
--- a/indra/newview/llviewerpartsource.cpp
+++ b/indra/newview/llviewerpartsource.cpp
@@ -313,7 +313,7 @@ void LLViewerPartSourceScript::update(const F32 dt)
part->mStartGlow = mPartSysData.mPartData.mStartGlow;
part->mEndGlow = mPartSysData.mPartData.mEndGlow;
- part->mGlow = LLColor4U(0, 0, 0, (U8) (part->mStartGlow*255.f));
+ part->mGlow = LLColor4U(0, 0, 0, (U8) llround(part->mStartGlow*255.f));
if (mPartSysData.mPattern & LLPartSysData::LL_PART_SRC_PATTERN_DROP)
{