[gimp] app: "shift" property in tiling was to be soft-limited by image width.



commit 79a0ca5927b19c49527cd9b0b322e61bd81558df
Author: Jehan <jehan girinstud io>
Date:   Mon Mar 27 23:46:11 2017 +0200

    app: "shift" property in tiling was to be soft-limited by image width.

 app/core/gimpsymmetry-tiling.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/app/core/gimpsymmetry-tiling.c b/app/core/gimpsymmetry-tiling.c
index 462f5c5..4ab592f 100644
--- a/app/core/gimpsymmetry-tiling.c
+++ b/app/core/gimpsymmetry-tiling.c
@@ -134,6 +134,10 @@ gimp_tiling_class_init (GimpTilingClass *klass)
                            GIMP_PARAM_STATIC_STRINGS |
                            GIMP_SYMMETRY_PARAM_GUI);
 
+  pspec = g_object_class_find_property (object_class, "shift");
+  gegl_param_spec_set_property_key (pspec, "unit", "pixel-distance");
+  gegl_param_spec_set_property_key (pspec, "axis", "x");
+
   GIMP_CONFIG_PROP_INT (object_class, PROP_MAX_X,
                         "max-x",
                         _("Max strokes X"),


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