[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    branches/koffice/1.6/koffice/krita/colorspaces/rgb_u8
From:       Bart Coppens <kde () bartcoppens ! be>
Date:       2006-07-04 9:59:50
Message-ID: 1152007190.416759.23016.nullmailer () svn ! kde ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic