Skip to content
Snippets Groups Projects
Unverified Commit bf43a857 authored by Rye Mutt's avatar Rye Mutt :bread: Committed by GitHub
Browse files

Fix failure to optimize away alpha channel on some GLTF upload paths (#606)

parent 0fa6ff2b
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,7 @@ LLImageRaw * LLTinyGLTFHelper::getTexture(const std::string & folder, const tiny ...@@ -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 = new LLImageRaw(&image->image[0], image->width, image->height, image->component);
rawImage->verticalFlip(); rawImage->verticalFlip();
rawImage->optimizeAwayAlpha();
} }
return rawImage; return rawImage;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment