[gimp] app: more debug output in GimpWarpTool, for fixing the timeout mess...



commit 88762df4cfecc5371556f763ac865e7e41f401e5
Author: Michael Natterer <mitch gimp org>
Date:   Thu Jun 26 14:01:35 2014 +0200

    app: more debug output in GimpWarpTool, for fixing the timeout mess...

 app/tools/gimpwarptool.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/app/tools/gimpwarptool.c b/app/tools/gimpwarptool.c
index 4f9425d..42f8db9 100644
--- a/app/tools/gimpwarptool.c
+++ b/app/tools/gimpwarptool.c
@@ -726,6 +726,12 @@ gimp_warp_tool_update_stroke (GimpWarpTool *wt,
       bbox.width  = max_x - min_x + size;
       bbox.height = max_y - min_y + size;
 
+#ifdef WARP_DEBUG
+  g_printerr ("update stroke: (%d,%d), %dx%d\n",
+              bbox.x, bbox.y,
+              bbox.width, bbox.height);
+#endif
+
       gimp_image_map_apply (wt->image_map, &bbox);
     }
 }


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