Memory optimizations broke thin walls

This commit is contained in:
Alessandro Ranellucci 2012-05-19 19:40:51 +02:00
parent b246480535
commit 22f8d57b36
2 changed files with 7 additions and 4 deletions

View file

@ -68,9 +68,12 @@ sub change_layer {
sub extrude {
my $self = shift;
return $_[0]->isa('Slic3r::ExtrusionLoop')
? $self->extrude_loop(@_)
: $self->extrude_path(@_);
if ($_[0]->isa('Slic3r::ExtrusionLoop')) {
$self->extrude_loop(@_);
} else {
$_[0]->deserialize;
$self->extrude_path(@_);
}
}
sub extrude_loop {