Turn nozzle count printf into debugf statement

This commit is contained in:
Henrik Brix Andersen 2012-07-19 23:31:47 +02:00
parent 35e6420ff5
commit 52fb02f29d

View file

@ -545,7 +545,7 @@ sub on_preset_loaded {
my $self = shift; my $self = shift;
# update the extruders count field # 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 # set value in repository according to the number of nozzle diameters supplied
Slic3r::Config->set('extruders_count', scalar @{ Slic3r::Config->get_raw('nozzle_diameter') }); Slic3r::Config->set('extruders_count', scalar @{ Slic3r::Config->get_raw('nozzle_diameter') });