From d533289ef9a79aa62313f20ca35581aae71793c8 Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Fri, 14 Aug 2015 15:10:28 -0400 Subject: [PATCH] ported: "*removed unnecessary posts to console" from pd-l2ork: f3c4044dc6a28185488f365be8a6ebd61fba6315 --- pd/src/g_template.c | 2 +- pd/src/pdtk_drawimage.tcl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pd/src/g_template.c b/pd/src/g_template.c index b89b9f142..d75d14742 100644 --- a/pd/src/g_template.c +++ b/pd/src/g_template.c @@ -6902,7 +6902,7 @@ static void *drawimage_new(t_symbol *classsym, int argc, t_atom *argv) x->x_img->s_name, dir->s_name, x->x_flags); - post("deleteme is %d", x->x_deleteme); + //post("deleteme is %d", x->x_deleteme); return (x); } diff --git a/pd/src/pdtk_drawimage.tcl b/pd/src/pdtk_drawimage.tcl index 57e6e80f4..a4dda9efb 100644 --- a/pd/src/pdtk_drawimage.tcl +++ b/pd/src/pdtk_drawimage.tcl @@ -41,7 +41,7 @@ proc pdtk_drawimage_new {obj path canvasdir flags} { if {[file extension $filename] eq ".gif" || [file extension $filename] eq ".png"} { image create photo ::drawimage_${obj}$i -file "$filename" - pdtk_post "image is ::drawimage_${obj}$i\n" + #pdtk_post "image is ::drawimage_${obj}$i\n" incr i } if {$i > 1000 || !$image_seq} {break} @@ -56,7 +56,7 @@ proc pdtk_drawimage_new {obj path canvasdir flags} { if {$i > 0} { pdtk_post "image width is [image width ::drawimage_${obj}0]\n" pdtk_post "image height is [image height ::drawimage_${obj}0]\n" - pdtk_post "obj is $obj\n" + #pdtk_post "obj is $obj\n" pd [concat $obj size [image width ::drawimage_${obj}0] \ [image height ::drawimage_${obj}0] \;] } else { -- GitLab