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



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

    app: babl types returned by choose_format() must be float!

 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 3c12c7847f..5ab302fee9 100644
--- a/app/core/gimppickable-contiguous-region.c
+++ b/app/core/gimppickable-contiguous-region.c
@@ -496,7 +496,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]