From c1a76841792dd927a7861a072cdfc13e036143aa Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 5 Jan 2016 12:52:45 +0100 Subject: [PATCH] Fixed: Alpha channel with 0 is correct, don't change it --- code/nel/tools/3d/panoply_maker/panoply_maker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/tools/3d/panoply_maker/panoply_maker.cpp b/code/nel/tools/3d/panoply_maker/panoply_maker.cpp index dc0ace2a3..328639eb6 100644 --- a/code/nel/tools/3d/panoply_maker/panoply_maker.cpp +++ b/code/nel/tools/3d/panoply_maker/panoply_maker.cpp @@ -670,8 +670,8 @@ static void BuildColoredVersionForOneBitmap(const CBuildInfo &bi, const std::str { uint8 value = 0; - // texture can be converted if all alphas are 0 or 255 - if (srcBitmap.isAlphaUniform(&value) && (value == 255 || value == 0)) + // texture can be converted if all alphas are 255 + if (srcBitmap.isAlphaUniform(&value) && value == 255) { if (bi.OptimizeTextures > 1) {