More work for removing references to $Slic3r::Config

This commit is contained in:
Alessandro Ranellucci 2013-12-24 11:58:36 +01:00
parent 1157a7f859
commit 2956c1a2e5
4 changed files with 14 additions and 12 deletions

View file

@ -25,7 +25,11 @@ has '_mm3_per_mm_cache' => (is => 'ro', default => sub {{}});
sub _build_bridge_flow {
my $self = shift;
return Slic3r::Flow::Bridge->new(nozzle_diameter => $self->nozzle_diameter);
return Slic3r::Flow::Bridge->new(
nozzle_diameter => $self->nozzle_diameter,
bridge_flow_ratio => $self->config->bridge_flow_ratio,
);
}
sub _build_e_per_mm3 {