diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-03-26 16:55:32 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2024-03-26 16:55:32 -0400 |
commit | c810a409e22b90ebacb9946f8a4084ef0ad78d64 (patch) | |
tree | 9fc508213bd00db70fc7aba7f3d4995541266f11 /indra/newview/lltinygltfhelper.cpp | |
parent | 656d1826e665b477e85ec3cf6db07677a3b88852 (diff) | |
parent | dd74c2cbd542daa8d6cedba7ba7a68268f7b73d3 (diff) |
Merge GLTF PBR Maint 2 to main.
Diffstat (limited to 'indra/newview/lltinygltfhelper.cpp')
-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; |