[gegl/soc-2011-seamless-clone] Fix wrong node connection order in gegl:seamless-clone-compose



commit d4c9ba6b976281287bf6589c9ef45fdd9e8101f2
Author: Barak Itkin <lightningismyname gmail com>
Date:   Sat Aug 11 22:37:02 2012 +0300

    Fix wrong node connection order in gegl:seamless-clone-compose

 .../common/seamless-clone/seamless-clone-compose.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/operations/common/seamless-clone/seamless-clone-compose.c b/operations/common/seamless-clone/seamless-clone-compose.c
index 455a8cf..17af2c5 100644
--- a/operations/common/seamless-clone/seamless-clone-compose.c
+++ b/operations/common/seamless-clone/seamless-clone-compose.c
@@ -65,12 +65,12 @@ attach (GeglOperation *operation)
    * which was more than half but not fulll. */
   overlay = gegl_node_new_child (gegl, "operation", "svg:src-atop", NULL);
   output = gegl_node_get_output_proxy (gegl, "output");
-  
-  gegl_node_connect_from (input, "output", seamless, "input");
-  gegl_node_connect_from (aux, "output", seamless, "aux");
-  gegl_node_connect_from (input, "output", overlay, "input");
-  gegl_node_connect_from (seamless, "output", overlay, "aux");
-  gegl_node_connect_from (overlay, "output", output, "input");
+ 
+  gegl_node_connect_to (input, "output", seamless, "input");
+  gegl_node_connect_to (aux, "output", seamless, "aux");
+  gegl_node_connect_to (input, "output", overlay, "input");
+  gegl_node_connect_to (seamless, "output", overlay, "aux");
+  gegl_node_connect_to (overlay, "output", output, "input");
 
   gegl_operation_meta_redirect (operation, "max-refine-steps", seamless, "max-refine-steps");
   gegl_operation_meta_redirect (operation, "xoff", seamless, "xoff");



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]