[gimp/goat-invasion] app: GimpBrushCore: hardode one less brush mask format



commit ace8f05e38df0ecb168e827981297a12a3f7d985
Author: Michael Natterer <mitch gimp org>
Date:   Mon Apr 23 00:06:04 2012 +0200

    app: GimpBrushCore: hardode one less brush mask format

 app/paint/gimpbrushcore.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/paint/gimpbrushcore.c b/app/paint/gimpbrushcore.c
index a42ca0e..e5c9c79 100644
--- a/app/paint/gimpbrushcore.c
+++ b/app/paint/gimpbrushcore.c
@@ -1349,7 +1349,7 @@ gimp_brush_core_solidify_mask (GimpBrushCore     *core,
 
   dest = gimp_temp_buf_new (brush_mask->width  + 2,
                             brush_mask->height + 2,
-                            babl_format ("Y u8"));
+                            brush_mask->format);
   gimp_temp_buf_data_clear (dest);
 
   core->solid_brushes[dest_offset_y][dest_offset_x] = dest;



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