diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-06-14 14:07:11 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-06-14 14:07:11 -0500 |
commit | 7fb024cfc24222df63a0f3335d2266260c7e6a42 (patch) | |
tree | 9d79350d800b261571914e1ed59b534aa088a4ff /indra/newview/llmodelpreview.cpp | |
parent | b81aadae1b5026195103a5ae20404daf858ded0c (diff) |
SL-19838 Put local lights back on fullbright objects. Fix assert in modelpreview.
Diffstat (limited to 'indra/newview/llmodelpreview.cpp')
-rw-r--r-- | indra/newview/llmodelpreview.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llmodelpreview.cpp b/indra/newview/llmodelpreview.cpp index b98855a51f..c98e0e1bbe 100644 --- a/indra/newview/llmodelpreview.cpp +++ b/indra/newview/llmodelpreview.cpp @@ -3726,6 +3726,8 @@ BOOL LLModelPreview::render() const std::string& binding = instance.mModel->mMaterialList[i]; const LLImportMaterial& material = instance.mMaterial[binding]; + buffer->unmapBuffer(); + buffer->setBuffer(); gGL.diffuseColor4fv(material.mDiffuseColor.mV); gGL.getTexUnit(0)->unbind(LLTexUnit::TT_TEXTURE); |