[gimp] app: update tiling stroke coordinates when intervals change.



commit a49e6d015ad20baa692bf88a550c6eae669d3525
Author: Jehan <jehan girinstud io>
Date:   Sun Feb 7 15:17:20 2016 +0100

    app: update tiling stroke coordinates when intervals change.

 app/core/gimpsymmetry-tiling.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/app/core/gimpsymmetry-tiling.c b/app/core/gimpsymmetry-tiling.c
index 44d490b..46470c0 100644
--- a/app/core/gimpsymmetry-tiling.c
+++ b/app/core/gimpsymmetry-tiling.c
@@ -215,7 +215,7 @@ gimp_tiling_set_property (GObject      *object,
                   g_value_set_double (&val, 0.0);
                   g_object_set_property (G_OBJECT (object), "shift", &val);
                 }
-              else if (sym->drawable)
+              if (sym->drawable)
                 gimp_tiling_update_strokes (sym, sym->drawable, sym->origin);
             }
         }
@@ -236,7 +236,7 @@ gimp_tiling_set_property (GObject      *object,
                   g_value_set_double (&val, 0.0);
                   g_object_set_property (G_OBJECT (object), "shift", &val);
                 }
-              else if (sym->drawable)
+              if (sym->drawable)
                 gimp_tiling_update_strokes (sym, sym->drawable, sym->origin);
             }
         }


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