[gegl] Issue #90 - Functions for Green and Blue check boxes are swapped ...
- From: Ell <ell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Issue #90 - Functions for Green and Blue check boxes are swapped ...
- Date: Thu, 5 Jul 2018 10:25:16 +0000 (UTC)
commit ab4698daccf7beee63cb2fea426068b80b6730b3
Author: Ell <ell_se yahoo com>
Date: Thu Jul 5 06:22:10 2018 -0400
Issue #90 - Functions for Green and Blue check boxes are swapped ...
... in Convolution Matrix dialog box
The effect of the "green" and "blue" properties of
gegl:convolution-matrix was swapped.
operations/common/convolution-matrix.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/operations/common/convolution-matrix.c b/operations/common/convolution-matrix.c
index 4ec9fe5bf..ace588ce3 100644
--- a/operations/common/convolution-matrix.c
+++ b/operations/common/convolution-matrix.c
@@ -234,8 +234,8 @@ convolve_pixel_componentwise (GeglProperties *o,
gint s_offset = ss_offset;
if ((i == 0 && o->red) ||
- (i == 1 && o->blue) ||
- (i == 2 && o->green) ||
+ (i == 1 && o->green) ||
+ (i == 2 && o->blue) ||
(i == 3 && o->alpha))
{
gint x, y;
@@ -387,8 +387,8 @@ convolve_pixel_alpha_weight_componentwise (GeglProperties *o,
gint s_offset = ss_offset;
if ((i == 0 && o->red) ||
- (i == 1 && o->blue) ||
- (i == 2 && o->green))
+ (i == 1 && o->green) ||
+ (i == 2 && o->blue))
{
gint x, y;
for (y = 0; y < matrix_size; y++)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]