[gegl] operations: some property fixes in mosaic and vignette



commit fd3c5cdb2ef2cedca0e252c9bff2b60164d41f7e
Author: Michael Natterer <mitch gimp org>
Date:   Mon May 19 01:15:13 2014 +0200

    operations: some property fixes in mosaic and vignette

 operations/common/mosaic.c   |    2 --
 operations/common/vignette.c |    8 ++++----
 2 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/operations/common/mosaic.c b/operations/common/mosaic.c
index c5a301d..2cce5b1 100644
--- a/operations/common/mosaic.c
+++ b/operations/common/mosaic.c
@@ -46,7 +46,6 @@ gegl_property_double (tile_size, _("Tile size"),
     "default", 15.0, "min", 1.0, "max", 1000.0,
     "ui-min", 5.0, "ui-max", 400.0,
     "unit", "pixel-distance",
-    "axis", "x",
     NULL)
 
 gegl_property_double (tile_height, _("Tile height"),
@@ -55,7 +54,6 @@ gegl_property_double (tile_height, _("Tile height"),
     "min", 1.0, "max", 1000.0,
     "ui-min", 1.0, "ui-max", 20.0,
     "unit", "pixel-distance",
-    "axis", "y",
     NULL)
 
 gegl_property_double (tile_neatness, _("Tile neatness"),
diff --git a/operations/common/vignette.c b/operations/common/vignette.c
index ec30931..a873287 100644
--- a/operations/common/vignette.c
+++ b/operations/common/vignette.c
@@ -49,7 +49,7 @@ gegl_property_double (softness, _("Softness"),
 
 gegl_property_double (gamma, _("Gamma"),
     "description", _("Falloff linearity"),
-    "default", 2.0, "min", 1.0, "max", 20.0, 
+    "default", 2.0, "min", 1.0, "max", 20.0,
     NULL)
 
 gegl_property_double (proportion, _("Proportion"),
@@ -65,16 +65,16 @@ gegl_property_double (squeeze, _("Squeeze"),
     "default", 0.0, "min", -1.0, "max", 1.0,
     NULL)
 
-gegl_property_double (x, _("X center"),
+gegl_property_double (x, _("Center X"),
     "description", _("Horizontal center of vignetting"),
     "default", 0.5, "min", -1.0, "max", 2.0,
     "unit", "relative-distance",
     "axis", "x",
     NULL)
 
-gegl_property_double (y, _("Y center"),
+gegl_property_double (y, _("Center Y"),
     "description", _("Vertical center of vignetting"),
-    "default", 0.5, "min", -1.0, "max", 2.0, 
+    "default", 0.5, "min", -1.0, "max", 2.0,
     "unit", "relative-distance",
     "axis", "y",
     NULL)


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