[gegl] operations: noise-solid: add value_range to x-size and y-size properties



commit 42e6822b8e9e6d3233ca88e63cfa848c1b97d2c1
Author: Thomas Manni <thomas manni free fr>
Date:   Sat Dec 6 09:55:22 2014 +0100

    operations: noise-solid: add value_range to x-size and y-size properties
    
    Do not allow negative values for x-size and y-size properties

 operations/common/noise-solid.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/operations/common/noise-solid.c b/operations/common/noise-solid.c
index 43f46a0..2f893aa 100644
--- a/operations/common/noise-solid.c
+++ b/operations/common/noise-solid.c
@@ -36,12 +36,14 @@
 
 property_double (x_size, _("X Size"), 4.0)
     description (_("Horizontal texture size"))
+    value_range (0.1, 16.0)
     ui_range    (0.1, 16.0)
     ui_meta     ("unit", "pixel-distance")
     ui_meta     ("axis", "x")
 
 property_double (y_size, _("Y Size"), 4.0)
     description (_("Vertical texture size"))
+    value_range (0.1, 16.0)
     ui_range    (0.1, 16.0)
     ui_meta     ("unit", "pixel-distance")
     ui_meta     ("axis", "y")


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