[gegl] wind: fix the left/right directions



commit 8a6de3e1314dc61b23719f64ec994771015f9a00
Author: Thomas Manni <thomas manni free fr>
Date:   Sun Aug 4 12:22:30 2019 +0200

    wind: fix the left/right directions

 operations/common-gpl3+/wind.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/operations/common-gpl3+/wind.c b/operations/common-gpl3+/wind.c
index d313a4df9..faaf8865a 100644
--- a/operations/common-gpl3+/wind.c
+++ b/operations/common-gpl3+/wind.c
@@ -459,7 +459,7 @@ process (GeglOperation       *operation,
   horizontal_effect = (o->direction == GEGL_WIND_DIRECTION_LEFT ||
                        o->direction == GEGL_WIND_DIRECTION_RIGHT);
 
-  need_reverse = (o->direction == GEGL_WIND_DIRECTION_RIGHT ||
+  need_reverse = (o->direction == GEGL_WIND_DIRECTION_LEFT ||
                   o->direction == GEGL_WIND_DIRECTION_TOP);
 
   if (horizontal_effect)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]