Merge branch 'DRTVWR-559' of github.com:secondlife/viewer into DRTVWR-559

master
RunitaiLinden 2023-04-27 16:06:08 -05:00
commit 03c6263fa7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
@ -5910,7 +5910,7 @@ void LLVolumeGeometryManager::rebuildGeom(LLSpatialGroup* group)
{
LLGLTFMaterial* gltf_mat = te->getGLTFRenderMaterial();
if (gltf_mat != nullptr || (te->getMaterialParams().notNull() && !te->getMaterialID().isNull()))
if (gltf_mat != nullptr || (te->getMaterialParams().notNull()))
{
if (gltf_mat != nullptr)
{