[gegl] Remove dead code in GeglOperation
- From: Daniel Sabo <daniels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] Remove dead code in GeglOperation
- Date: Wed, 5 Feb 2014 09:40:42 +0000 (UTC)
commit 105f616a48411eb0ae52bf2238b3ca9ec3c416a4
Author: Daniel Sabo <DanielSabo gmail com>
Date: Tue Feb 4 11:26:27 2014 -0800
Remove dead code in GeglOperation
Graph meta nodes are never traversed so calling
get_invalidated_by_change() is not meaningful.
gegl/operation/gegl-operation.c | 17 -----------------
1 files changed, 0 insertions(+), 17 deletions(-)
---
diff --git a/gegl/operation/gegl-operation.c b/gegl/operation/gegl-operation.c
index 75e274f..7626e38 100644
--- a/gegl/operation/gegl-operation.c
+++ b/gegl/operation/gegl-operation.c
@@ -373,23 +373,6 @@ get_invalidated_by_change (GeglOperation *self,
const gchar *input_pad,
const GeglRectangle *input_region)
{
-#if 0
- /* FIXME: this seems to sometimes go into an infinite loop, the
- * current workaround of passing the rectangle straight through
- * isn't even true for unsharp-mask/drop-shadow/difference of gaussians,
- * but it stops a crasher bug.
- *
- * This needs to be revisited as part of the core processing revisit
- * (perhaps together with a meta-op framework revwrite).
- */
- if (self->node->is_graph)
- {
- return gegl_operation_get_invalidated_by_change (
- gegl_node_get_output_proxy (self->node, "output")->operation,
- input_pad,
- input_region);
- }
-#endif
return *input_region;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]