Remove debugging statements

This commit is contained in:
Alessandro Ranellucci 2012-07-20 14:41:27 +02:00
parent 1697cb24a6
commit e71472e5d7
2 changed files with 2 additions and 2 deletions

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
{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') });

View file

@ -17,7 +17,7 @@ sub new {
$self = [ @_ ]; $self = [ @_ ];
} }
bless $self, $class;use XXX; ZZZ $self if !defined $self->[0]; bless $self, $class;
bless $_, 'Slic3r::Point' for @$self; bless $_, 'Slic3r::Point' for @$self;
$self; $self;
} }