[gimp/gimp-2-10] app, pdb: more gimp-2-10 only tweak for smart colorization.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] app, pdb: more gimp-2-10 only tweak for smart colorization.
- Date: Wed, 19 Dec 2018 15:45:20 +0000 (UTC)
commit 21e776b9117ba2102ca8cadf0ff8da614e808281
Author: Jehan <jehan girinstud io>
Date: Wed Nov 28 14:36:08 2018 +0100
app, pdb: more gimp-2-10 only tweak for smart colorization.
Because of the file organization of PDB different between the 2.10 and
master branches.
app/pdb/edit-cmds.c | 8 ++++----
pdb/groups/edit.pdb | 6 ++++--
2 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/app/pdb/edit-cmds.c b/app/pdb/edit-cmds.c
index f700122e0c..d213dbc331 100644
--- a/app/pdb/edit-cmds.c
+++ b/app/pdb/edit-cmds.c
@@ -627,13 +627,13 @@ edit_bucket_fill_invoker (GimpProcedure *procedure,
}
else
{
- gimp_drawable_bucket_fill (drawable, NULL, options,
+ gimp_drawable_bucket_fill (drawable, NULL, NULL, options,
FALSE /* don't fill transparent */,
GIMP_SELECT_CRITERION_COMPOSITE,
threshold / 255.0,
sample_merged,
FALSE /* no diagonal neighbors */,
- 0.92, -1, /* TODO */
+ 0.92, 3, /* TODO */
x, y);
}
}
@@ -705,13 +705,13 @@ edit_bucket_fill_full_invoker (GimpProcedure *procedure,
}
else
{
- gimp_drawable_bucket_fill (drawable, NULL, options,
+ gimp_drawable_bucket_fill (drawable, NULL, NULL, options,
fill_transparent,
select_criterion,
threshold / 255.0,
sample_merged,
FALSE /* no diagonal neighbors */,
- 0.92, -1, /* TODO */
+ 0.92, 3, /* TODO */
x, y);
}
}
diff --git a/pdb/groups/edit.pdb b/pdb/groups/edit.pdb
index 469492610c..4d254f7ef7 100644
--- a/pdb/groups/edit.pdb
+++ b/pdb/groups/edit.pdb
@@ -673,12 +673,13 @@ HELP
}
else
{
- gimp_drawable_bucket_fill (drawable, options,
+ gimp_drawable_bucket_fill (drawable, NULL, NULL, options,
FALSE /* don't fill transparent */,
GIMP_SELECT_CRITERION_COMPOSITE,
threshold / 255.0,
sample_merged,
FALSE /* no diagonal neighbors */,
+ 0.92, 3, /* TODO */
x, y);
}
}
@@ -781,12 +782,13 @@ HELP
}
else
{
- gimp_drawable_bucket_fill (drawable, options,
+ gimp_drawable_bucket_fill (drawable, NULL, NULL, options,
fill_transparent,
select_criterion,
threshold / 255.0,
sample_merged,
FALSE /* no diagonal neighbors */,
+ 0.92, 3, /* TODO */
x, y);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]