From 52fb02f29dbb4c0d4b34f295e6ee11eda89c1eda Mon Sep 17 00:00:00 2001 From: Henrik Brix Andersen Date: Thu, 19 Jul 2012 23:31:47 +0200 Subject: [PATCH] Turn nozzle count printf into debugf statement --- lib/Slic3r/GUI/Tab.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Slic3r/GUI/Tab.pm b/lib/Slic3r/GUI/Tab.pm index bda3e1c26..7acb503a3 100644 --- a/lib/Slic3r/GUI/Tab.pm +++ b/lib/Slic3r/GUI/Tab.pm @@ -545,7 +545,7 @@ sub on_preset_loaded { my $self = shift; # update the extruders count field - {printf "nozzle count = %d\n", scalar @{ Slic3r::Config->get_raw('nozzle_diameter') }; + {Slic3r::debugf "nozzle count = %d\n", scalar @{ Slic3r::Config->get_raw('nozzle_diameter') }; # set value in repository according to the number of nozzle diameters supplied Slic3r::Config->set('extruders_count', scalar @{ Slic3r::Config->get_raw('nozzle_diameter') });