summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2023-03-22 18:25:47 -0500
committerDave Parks <davep@lindenlab.com>2023-03-22 18:25:47 -0500
commite23b3972a00370aff25d582ce33dc0db6d795213 (patch)
tree2ef6e4ecbe88a340a1bde00f8fd65d5bf29b8a0e /indra/newview/llvovolume.cpp
parentc4bc71766922c4f810e38f7dc91e521ed87fccf2 (diff)
DRTVWR-559 Fix for bad hashing of materials breaking render batches and who knows what else.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index e1335acc17..237f9e34a0 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -5416,7 +5416,8 @@ void LLVolumeGeometryManager::registerFace(LLSpatialGroup* group, LLFace* facep,
if (gltf_mat)
{
- // nothing to do, render pools will reference the GLTF material
+ // just remember the material ID, render pools will reference the GLTF material
+ draw_info->mMaterialID = mat_id;
}
else if (mat)
{