[gimp/metadata-browser] app: add safety margin to the smudge buffer not to stamp
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app: add safety margin to the smudge buffer not to stamp
- Date: Wed, 12 Sep 2012 22:41:40 +0000 (UTC)
commit 9ff9b59f4020ce35cde3d263fac7d845b1b37637
Author: Alexia Death <alexiadeath gmail com>
Date: Fri Jan 20 23:31:45 2012 +0200
app: add safety margin to the smudge buffer not to stamp
app/paint/gimpsmudge.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/paint/gimpsmudge.c b/app/paint/gimpsmudge.c
index af9a46e..9e959ac 100644
--- a/app/paint/gimpsmudge.c
+++ b/app/paint/gimpsmudge.c
@@ -375,5 +375,5 @@ gimp_smudge_accumulator_size (GimpPaintOptions *paint_options,
{
/* Note: the max brush mask size plus a border of 1 pixel */
- *accumulator_size = ceil (sqrt (2 * SQR(paint_options->brush_size + 1)));
+ *accumulator_size = ceil (sqrt (2 * SQR(paint_options->brush_size)) + 2);
}
\ No newline at end of file
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]