[gimp/soc-2011-warp] warptool: enable the caching in imagemap



commit a13437aa28feef280c71bc6e76fbc234c603c636
Author: Michael Murà <batolettre gmail com>
Date:   Sat Jul 23 13:40:29 2011 +0200

    warptool: enable the caching in imagemap

 app/tools/gimpwarptool.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index 181270f..68410da 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -502,6 +502,8 @@ gimp_warp_tool_create_image_map (GimpWarpTool *wt,
                                       NULL,
                                       NULL);
 
+  g_object_set (wt->image_map, "gegl-caching", TRUE, NULL);
+
   g_signal_connect (wt->image_map, "flush",
                     G_CALLBACK (gimp_warp_tool_image_map_flush),
                     wt);



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