[gimp/gimp-2-10] app: babl types returned by choose_format() must be float!



commit 13466ba7e7af7e30547fa18a5221491c8c3b545b
Author: Jehan <jehan girinstud io>
Date:   Thu Oct 11 16:02:44 2018 +0200

    app: babl types returned by choose_format() must be float!
    
    (cherry picked from commit fcd038eb1680d080f5c0257750a8724ba93326d0)

 app/core/gimppickable-contiguous-region.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/app/core/gimppickable-contiguous-region.c b/app/core/gimppickable-contiguous-region.c
index 4929648219..7ad4b78716 100644
--- a/app/core/gimppickable-contiguous-region.c
+++ b/app/core/gimppickable-contiguous-region.c
@@ -494,7 +494,7 @@ choose_format (GeglBuffer          *buffer,
       break;
 
     case GIMP_SELECT_CRITERION_LINE_ART:
-      format = babl_format ("Y'A u8");
+      format = babl_format ("Y'A float");
       break;
 
     default:


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