koffice/libs/pigment

Boudewijn Rempt boud at valdyas.org
Tue Jan 5 08:50:25 CET 2010


SVN commit 1070202 by rempt:

Remove alpha channel manipulation in composite_copy

I am not sure why this was originally added, or who did that, so
cc'ing the mailing list. I've checked the 1.6 branch, and it was
already in there.

CCMAIL: kimageshop at kde.org

 M  +3 -2      KoColorSpaceAbstract.h  
 D             KoCompositeCopyOpAbstract.h  
 A             compositeops/KoCompositeOpCopy.h   KoCompositeCopyOpAbstract.h#1070140 [License: LGPL (v2+)]


--- trunk/koffice/libs/pigment/KoColorSpaceAbstract.h #1070201:1070202
@@ -35,7 +35,7 @@
 #include "KoLabDarkenColorTransformation.h"
 #include "KoMixColorsOpImpl.h"
 
-#include "KoCompositeCopyOpAbstract.h"
+#include "compositeops/KoCompositeOpCopy.h"
 #include "KoConvolutionOpImpl.h"
 #include "KoInvertColorTransformation.h"
 
@@ -57,7 +57,8 @@
 
     KoColorSpaceAbstract(const QString &id, const QString &name) :
             KoColorSpace(id, name, new KoMixColorsOpImpl< _CSTrait>(), new KoConvolutionOpImpl< _CSTrait>()) {
-        this->addCompositeOp(new CompositeCopy(this));
+
+        this->addCompositeOp(new KoCompositeOpCopy(this));
     }
 
     virtual quint32 colorChannelCount() const {


More information about the kimageshop mailing list