1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-11 08:04:25 +00:00

Bugfix: removed error when filling small regions

This commit is contained in:
Alessandro Ranellucci
2011-12-05 19:54:19 +01:00
parent 2ba513bdb2
commit 313f77ee59
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ sub make_fill {
flow_ratio => $flow_ratio * ($params->{flow_ratio} || 1),
), @paths,
],
);
) if @paths;
###$layer->fills->[-1]->cleanup;
}
}
+1 -1
View File
@@ -43,7 +43,7 @@ sub fill_surface {
my $polyline = Slic3r::Polyline->cast([
map [ map {$_*$distance_between_lines} $path->n_to_xy($_) ], @n,
]);
return [] if !@{$polyline->points};
return {} if !@{$polyline->points};
$self->process_polyline($polyline, $bounding_box);