diff options
author | Rye Mutt <rye@alchemyviewer.org> | 2024-01-16 12:09:26 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-16 11:09:26 -0600 |
commit | bf43a8574c394c27bad1b0b08c88cad308a55572 (patch) | |
tree | b002d03152417e9c5c97826928020d69f71dad3a /indra/newview | |
parent | 0fa6ff2b1f488165c2521ef83e8b78aa2981ac88 (diff) |
Fix failure to optimize away alpha channel on some GLTF upload paths (#606)
Co-authored-by: RunitaiLinden <davep@lindenlab.com>
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/lltinygltfhelper.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/lltinygltfhelper.cpp b/indra/newview/lltinygltfhelper.cpp index 999be07dba..5b75db37d0 100644 --- a/indra/newview/lltinygltfhelper.cpp +++ b/indra/newview/lltinygltfhelper.cpp @@ -178,6 +178,7 @@ LLImageRaw * LLTinyGLTFHelper::getTexture(const std::string & folder, const tiny { rawImage = new LLImageRaw(&image->image[0], image->width, image->height, image->component); rawImage->verticalFlip(); + rawImage->optimizeAwayAlpha(); } return rawImage; |