From fc4f0eaa82114289447a0389701206f72b3080c4 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Wed, 13 Nov 2013 19:39:14 -0600 Subject: [PATCH] Particle glow tweak excluded more faces from glow than intended. --- indra/newview/lldrawpoolalpha.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/lldrawpoolalpha.cpp b/indra/newview/lldrawpoolalpha.cpp index acbbc419b..bf4907b8b 100644 --- a/indra/newview/lldrawpoolalpha.cpp +++ b/indra/newview/lldrawpoolalpha.cpp @@ -598,7 +598,7 @@ void LLDrawPoolAlpha::renderAlpha(U32 mask, S32 pass) // If this alpha mesh has glow, then draw it a second time to add the destination-alpha (=glow). Interleaving these state-changing calls could be expensive, but glow must be drawn Z-sorted with alpha. if (current_shader && draw_glow_for_this_partition && - params.mHasGlow && //only do this second pass for batches that actually have glow + (!is_particle_or_hud_particle || params.mHasGlow) && //only do this second pass for batches that actually have glow params.mVertexBuffer->hasDataType(LLVertexBuffer::TYPE_EMISSIVE)) { // install glow-accumulating blend mode