From 798cb1c7ce6afac59dc5e1b0500818f30d7258a3 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 --HG-- branch : develop --- 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) {