[gimp/soc-2009-siox-drb] 8.16
- From: Jie Ding <jieding src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp/soc-2009-siox-drb] 8.16
- Date: Sun, 16 Aug 2009 06:09:52 +0000 (UTC)
commit aa94032698ed5b226a622405f24583cb5bb7f911
Author: Jie Ding <jieding src gnome org>
Date: Sun Aug 16 14:08:26 2009 +0800
8.16
app/base/siox.c | 7 ++++---
app/tools/gimpforegroundselecttool.c | 2 +-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/app/base/siox.c b/app/base/siox.c
index ad025a1..e2acf0d 100644
--- a/app/base/siox.c
+++ b/app/base/siox.c
@@ -1412,6 +1412,7 @@ siox_drb (SioxState *state,
map += mapPR.rowstride;
}
}
+ /*
smooth_mask (mask, x, y, state->width, state->height);
erode_mask (mask, x, y, state->width, state->height);
@@ -1428,11 +1429,11 @@ siox_drb (SioxState *state,
MULTIBLOB_DEFAULT_SIZEFACTOR : MULTIBLOB_ONE_BLOB_ONLY);
dilate_mask (mask, x, y, state->width, state->height);
-
+ */
if (optionsrefinement & SIOX_DRB_ADD)
- g_hash_table_foreach_remove(state->cache,siox_cache_remove_bg,NULL);
- if (optionsrefinement & SIOX_DRB_SUBTRACT)
g_hash_table_foreach_remove(state->cache,siox_cache_remove_fg,NULL);
+ if (optionsrefinement & SIOX_DRB_SUBTRACT)
+ g_hash_table_foreach_remove(state->cache,siox_cache_remove_bg,NULL);
if (optionsrefinement & SIOX_DRB_CHANGE_THRESHOLD)
optionsrefinement = SIOX_DRB_RECALCULATE;
diff --git a/app/tools/gimpforegroundselecttool.c b/app/tools/gimpforegroundselecttool.c
index a02cf73..f007093 100644
--- a/app/tools/gimpforegroundselecttool.c
+++ b/app/tools/gimpforegroundselecttool.c
@@ -775,7 +775,7 @@ gimp_foreground_select_tool_select (GimpFreeSelectTool *free_sel,
options->sensitivity,
! options->contiguous,
options->drb,
- options->stroke_width,
+ options->stroke_width/2,
drblist->data,
GIMP_PROGRESS (display));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]