From kde-kimageshop Tue Jul 04 09:59:50 2006 From: Bart Coppens Date: Tue, 04 Jul 2006 09:59:50 +0000 To: kde-kimageshop Subject: branches/koffice/1.6/koffice/krita/colorspaces/rgb_u8 Message-Id: <1152007190.416759.23016.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-kimageshop&m=115200719908935 SVN commit 557892 by coppens: This seems to make more sense (plus it looks much better with adjustment layers with opacity < 100%). I'm not that comfortable with the compositing code, so if anyone has comments, I'd be happy to hear (including whether or not this should be backported to 1.5 and/or changed in other cs'es). CCMAIL:kimageshop@kde.org M +1 -1 kis_rgb_colorspace.cc --- branches/koffice/1.6/koffice/krita/colorspaces/rgb_u8/kis_rgb_colorspace.cc #557891:557892 @@ -267,7 +267,7 @@ if (srcAlpha != OPACITY_TRANSPARENT) { if (opacity != OPACITY_OPAQUE) { - srcAlpha = UINT8_MULT(src[PIXEL_ALPHA], opacity); + srcAlpha = UINT8_MULT(srcAlpha, opacity); } if (srcAlpha == OPACITY_OPAQUE) { _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop