[gimp/goat-invasion: 249/412] app: remove "dont-cache" from gimp_apply_opeation()



commit d9b87f2a6263d416218ac642c703e9f8a71e2c57
Author: Michael Natterer <mitch gimp org>
Date:   Sun Mar 25 23:13:08 2012 +0200

    app: remove "dont-cache" from gimp_apply_opeation()
    
    it slows down all ops which wan to process the entire buffer in one
    go, like the new gimp:shrink.

 app/core/gimp-apply-operation.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/app/core/gimp-apply-operation.c b/app/core/gimp-apply-operation.c
index a3efe85..7b29499 100644
--- a/app/core/gimp-apply-operation.c
+++ b/app/core/gimp-apply-operation.c
@@ -64,12 +64,6 @@ gimp_apply_operation (GeglBuffer          *src_buffer,
 
   gegl = gegl_node_new ();
 
-  /* Disable caching on all children of the node unless explicitly re-enabled.
-   */
-  g_object_set (gegl,
-                "dont-cache", TRUE,
-                NULL);
-
   src_node = gegl_node_new_child (gegl,
                                   "operation", "gegl:buffer-source",
                                   "buffer",    src_buffer,



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