[gimp] app: add safety margin to the smudge buffer not to stamp
- From: Alexia Death <alexiade src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: add safety margin to the smudge buffer not to stamp
- Date: Fri, 20 Jan 2012 21:32:07 +0000 (UTC)
commit 06f99b7402b53cb8520963cde62b2842bad7bef6
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]