Bugfix: infill every N layers was consuming large amounts of memory when used with models having sloping walls. #259

This commit is contained in:
Alessandro Ranellucci 2012-05-01 18:51:47 +02:00
parent 305b7a9c93
commit d59d4a2c55
2 changed files with 15 additions and 1 deletions

View file

@ -14,7 +14,7 @@ sub factor {
sub svg {
my ($print) = @_;
$print ||= Slic3r::Print->new(x_length => 200 / $Slic3r::scaling_factor, y_length => 200 / $Slic3r::scaling_factor);
my $svg = SVG->new(width => $print->max_length * factor(), height => $print->max_length * factor());
my $svg = SVG->new(width => 200 * 10, height => 200 * 10);
my $marker_end = $svg->marker(
id => "endArrow",