Bugfix: flow wasn't adjusted for perimeters when a custom perimeters extrusion width was applied

This commit is contained in:
Alessandro Ranellucci 2012-07-01 18:12:21 +02:00
parent 07f2dab5f6
commit c4b9a6cf61
4 changed files with 17 additions and 6 deletions

View file

@ -8,6 +8,8 @@ has 'polygon' => (
handles => [qw(is_printable nearest_point_to reverse)],
);
has 'flow_spacing' => (is => 'rw');
# see EXTR_ROLE_* constants in ExtrusionPath.pm
has 'role' => (is => 'rw', required => 1);
@ -52,6 +54,7 @@ sub split_at {
return Slic3r::ExtrusionPath->new(
polyline => Slic3r::Polyline->new(\@new_points),
role => $self->role,
flow_spacing => $self->flow_spacing,
);
}