diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-04-26 11:53:09 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-04-26 17:17:28 -0700 |
commit | 97dc4755ff2559e81720bdf87051eb1a50ff9bbb (patch) | |
tree | 392e12a68f5807304c7569aa961db8fb2e0146ca /indra/newview/llvovolume.cpp | |
parent | 879ca2f6a0353fa2f8f59d81dde19546399d8bc7 (diff) |
SL-19653: Fix assert: Prims were added to glow draw pool when glow was at or near zero
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index a73d149b10..421205af97 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -5826,7 +5826,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group) const LLTextureEntry* te = facep->getTextureEntry(); LLViewerTexture* tex = facep->getTexture(); - if (te->getGlow() >= 1.f/255.f) + if (te->getGlow() > 0.f) { emissive = true; } |