branches/koffice/1.6/koffice/krita/colorspaces/rgb_u8
Bart Coppens
kde at bartcoppens.be
Tue Jul 4 11:59:50 CEST 2006
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 at 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) {
More information about the kimageshop
mailing list