From 78af29bd0ee6cf83e3fbfb569d81e178dd2203fe Mon Sep 17 00:00:00 2001 From: dooglus Date: Sun, 14 Oct 2007 23:14:57 +0000 Subject: [PATCH] Show some debugging output on stdout when deciding which 'auto' target to use. git-svn-id: http://svn.voria.com/code@930 1f10aa63-cdf2-0310-b900-c93c546f37ac --- synfig-studio/trunk/src/gtkmm/render.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/synfig-studio/trunk/src/gtkmm/render.cpp b/synfig-studio/trunk/src/gtkmm/render.cpp index 1ee95c3..43ea5b6 100644 --- a/synfig-studio/trunk/src/gtkmm/render.cpp +++ b/synfig-studio/trunk/src/gtkmm/render.cpp @@ -252,10 +252,17 @@ RenderSettings::on_render_pressed() { String ext(filename_extension(filename)); if (ext.size()) ext=ext.substr(1); // skip initial '.' + synfig::info("render target filename: '%s'; extension: '%s'", filename.c_str(), ext.c_str()); if(Target::ext_book().count(ext)) + { target_name=Target::ext_book()[ext]; + synfig::info("'%s' is a known extension - using target '%s'", ext.c_str(), target_name.c_str()); + } else + { target_name=ext; + synfig::info("unknown extension"); + } } catch(std::runtime_error x) { -- 2.7.4