[gimp] app: use gegl:distance-transform in the blend tool, it has a progress now
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use gegl:distance-transform in the blend tool, it has a progress now
- Date: Wed, 11 May 2016 22:15:53 +0000 (UTC)
commit f7c104c6ae00895d8b7224b57c8378ed43749ab9
Author: Michael Natterer <mitch gimp org>
Date: Thu May 12 00:14:35 2016 +0200
app: use gegl:distance-transform in the blend tool, it has a progress now
Also, don't start the progress in GimpBlendTool, let
gimp_gegl_progress_connect() do its job.
app/tools/gimpblendtool.c | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/app/tools/gimpblendtool.c b/app/tools/gimpblendtool.c
index cf9eb49..5ac9414 100644
--- a/app/tools/gimpblendtool.c
+++ b/app/tools/gimpblendtool.c
@@ -975,11 +975,8 @@ gimp_blend_tool_precalc_shapeburst (GimpBlendTool *blend_tool)
&x, &y, &width, &height))
return;
- gimp_progress_start (GIMP_PROGRESS (blend_tool), FALSE,
- _("Calculating distance map"));
-
blend_tool->dist_buffer =
- gimp_drawable_blend_shapeburst_distmap (tool->drawable, TRUE,
+ gimp_drawable_blend_shapeburst_distmap (tool->drawable, FALSE,
GEGL_RECTANGLE (x, y, width, height),
GIMP_PROGRESS (blend_tool));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]