[gimp] app: set the warp tool's image_map to DRAWABLE mode



commit 278def0bf9285df4b4150f84f3c238d6845599af
Author: Michael Natterer <mitch gimp org>
Date:   Thu May 23 19:30:46 2013 +0200

    app: set the warp tool's image_map to DRAWABLE mode

 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 bd91047..9380088 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -651,6 +651,8 @@ gimp_warp_tool_create_image_map (GimpWarpTool *wt,
                                       wt->graph,
                                       GIMP_STOCK_TOOL_WARP);
 
+  gimp_image_map_set_region (wt->image_map, GIMP_IMAGE_MAP_REGION_DRAWABLE);
+
 #if 0
   g_object_set (wt->image_map, "gegl-caching", TRUE, NULL);
 #endif


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