diff options
author | Dave Parks <davep@lindenlab.com> | 2023-03-22 18:25:47 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2023-03-22 18:25:47 -0500 |
commit | e23b3972a00370aff25d582ce33dc0db6d795213 (patch) | |
tree | 2ef6e4ecbe88a340a1bde00f8fd65d5bf29b8a0e /indra/newview/llvovolume.cpp | |
parent | c4bc71766922c4f810e38f7dc91e521ed87fccf2 (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.cpp | 3 |
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) { |