[gimp/gimp-2-10] app: make "gegl:matting-levin" default engine of Foreground Select tool.



commit aeed6fcb85b858a373b44b4bf95a6a83438332c4
Author: Jehan <jehan girinstud io>
Date:   Mon Jul 6 22:16:01 2020 +0200

    app: make "gegl:matting-levin" default engine of Foreground Select tool.
    
    Even though this engine is optional, we already have the code to detect
    its absence at runtime, and to fallback to "gegl:matting-global". So it
    won't be a problem even then.
    
    When the operation is present though, it definitely makes a lot more
    sense than matting global as default, because it performs a lot better
    in most cases (as far as I could see as well as others).
    
    (cherry picked from commit b52cdf4c90800452aa9717d57398ba72a5819d2a)

 app/tools/gimpforegroundselectoptions.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/tools/gimpforegroundselectoptions.c b/app/tools/gimpforegroundselectoptions.c
index d88a1f36ca..8dcf6ebb58 100644
--- a/app/tools/gimpforegroundselectoptions.c
+++ b/app/tools/gimpforegroundselectoptions.c
@@ -119,7 +119,7 @@ gimp_foreground_select_options_class_init (GimpForegroundSelectOptionsClass *kla
                          _("Engine"),
                          _("Matting engine to use"),
                          GIMP_TYPE_MATTING_ENGINE,
-                         GIMP_MATTING_ENGINE_GLOBAL,
+                         GIMP_MATTING_ENGINE_LEVIN,
                          GIMP_PARAM_STATIC_STRINGS);
 
   GIMP_CONFIG_PROP_INT  (object_class, PROP_LEVELS,


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