[krita] plugins/filters/colorsfilters: Fix the order of application of color correction curves in the "Curves" filter
Dmitry Kazakov
dimula73 at gmail.com
Mon May 2 16:30:46 UTC 2016
Git commit 4023a33a8680a8f3c92141fe009b820152c1428c by Dmitry Kazakov.
Committed on 02/05/2016 at 16:30.
Pushed by dkazakov into branch 'master'.
Fix the order of application of color correction curves in the "Curves" filter
Now the order of transformations fits the order of other popular
applications, including Gimp:
1) Apply per-channel color curves
2) Apply composite RGB color curve, which changes all the channels
at once
3) Apply the lightness curve in the end
CC:kimageshop at kde.org
BUG:324332
Fixes T2083
M +2 -2 plugins/filters/colorsfilters/kis_perchannel_filter.cpp
http://commits.kde.org/krita/4023a33a8680a8f3c92141fe009b820152c1428c
diff --git a/plugins/filters/colorsfilters/kis_perchannel_filter.cpp b/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
index aaecd84..5ce0125 100644
--- a/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
+++ b/plugins/filters/colorsfilters/kis_perchannel_filter.cpp
@@ -584,9 +584,9 @@ KoColorTransformation* KisPerChannelFilter::createTransformation(const KoColorSp
}
QVector<KoColorTransformation*> allTransforms;
- allTransforms << lightnessTransform;
- allTransforms << allColorsTransform;
allTransforms << colorTransform;
+ allTransforms << allColorsTransform;
+ allTransforms << lightnessTransform;
return KoCompositeColorTransformation::createOptimizedCompositeTransform(allTransforms);
}
More information about the kimageshop
mailing list