[gegl] GeglNode: invalidate when disconnecting a connectinon on a source pad



commit 00ae52f074fe4ea7bc84034f15153d909918b756
Author: Ãyvind KolÃs <pippin gimp org>
Date:   Sat Mar 17 15:40:09 2012 +0000

    GeglNode: invalidate when disconnecting a connectinon on a source pad

 gegl/graph/gegl-node.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gegl/graph/gegl-node.c b/gegl/graph/gegl-node.c
index ddfdb48..7c31f7d 100644
--- a/gegl/graph/gegl-node.c
+++ b/gegl/graph/gegl-node.c
@@ -690,6 +690,8 @@ gegl_node_disconnect (GeglNode    *sink,
       source_pad = gegl_connection_get_source_pad (connection);
       source     = gegl_connection_get_source_node (connection);
 
+      gegl_node_source_invalidated (source, &source->have_rect, sink_pad);
+
       {
         /* disconnecting dirt propagation */
         gulong handler;
@@ -710,6 +712,7 @@ gegl_node_disconnect (GeglNode    *sink,
 
       gegl_connection_destroy (connection);
 
+
       return TRUE;
     }
 



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