[gimp] Bug 692668 - Browse For Patterns
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Bug 692668 - Browse For Patterns
- Date: Tue, 26 Mar 2013 22:57:18 +0000 (UTC)
commit 8bc4f008e7469ba89440b663c5d2cca05a91028d
Author: Michael Natterer <mitch gimp org>
Date: Tue Mar 26 23:55:40 2013 +0100
Bug 692668 - Browse For Patterns
Increase the max size of the clipboard brush and pattern to 2048x2048
pixels. Still arbitrary but much better.
app/core/gimpbrushclipboard.c | 4 ++--
app/core/gimppatternclipboard.c | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/app/core/gimpbrushclipboard.c b/app/core/gimpbrushclipboard.c
index 6f22455..61a7dcf 100644
--- a/app/core/gimpbrushclipboard.c
+++ b/app/core/gimpbrushclipboard.c
@@ -196,8 +196,8 @@ gimp_brush_clipboard_buffer_changed (Gimp *gimp,
const Babl *format = gegl_buffer_get_format (buffer);
GeglBuffer *dest_buffer;
- width = MIN (gimp_buffer_get_width (gimp->global_buffer), 512);
- height = MIN (gimp_buffer_get_height (gimp->global_buffer), 512);
+ width = MIN (gimp_buffer_get_width (gimp->global_buffer), 2048);
+ height = MIN (gimp_buffer_get_height (gimp->global_buffer), 2048);
brush->mask = gimp_temp_buf_new (width, height,
babl_format ("Y u8"));
diff --git a/app/core/gimppatternclipboard.c b/app/core/gimppatternclipboard.c
index 6635140..868162b 100644
--- a/app/core/gimppatternclipboard.c
+++ b/app/core/gimppatternclipboard.c
@@ -188,8 +188,8 @@ gimp_pattern_clipboard_buffer_changed (Gimp *gimp,
gint width;
gint height;
- width = MIN (gimp_buffer_get_width (buffer), 512);
- height = MIN (gimp_buffer_get_height (buffer), 512);
+ width = MIN (gimp_buffer_get_width (buffer), 2048);
+ height = MIN (gimp_buffer_get_height (buffer), 2048);
pattern->mask = gimp_temp_buf_new (width, height,
gimp_buffer_get_format (buffer));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]