[gimp/soc-2011-seamless-clone2] Fix the preprocessing. It now works without UV caching.
- From: Barak Itkin <barakitkin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] Fix the preprocessing. It now works without UV caching.
- Date: Wed, 17 Aug 2011 20:00:50 +0000 (UTC)
commit 15c3876b7cd18cdd0ce6d2e3fc5f2438fe9bb071
Author: Barak Itkin <lightningismyname gmail com>
Date: Wed Aug 17 22:41:49 2011 +0300
Fix the preprocessing. It now works without UV caching.
This gimp commit uses gegl commit 2d2d01d47f84, which still passes the
preprocessing result as a gpointer (and not a GObject*), and still does
not cache the UV cordinates into a buffer.
The result of the preprocessing currently isn't freed!
app/tools/gimpseamlessclonetool.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpseamlessclonetool.c b/app/tools/gimpseamlessclonetool.c
index ada32e7..bdf075a 100644
--- a/app/tools/gimpseamlessclonetool.c
+++ b/app/tools/gimpseamlessclonetool.c
@@ -389,6 +389,9 @@ paste_to_gegl_buf (GimpTool *tool)
gegl_node_connect_to (input, "output",
output, "input");
+ gegl_node_connect_to (input, "output",
+ prepare, "input");
+
/* Convert the paste into a GeglBuffer */
processor = gegl_node_new_processor (output, NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]