mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 00:26:10 +08:00
Bugfix: fatal error on some models. #255
This commit is contained in:
parent
0e1d89376e
commit
64892c2203
@ -16,6 +16,7 @@ sub fill_surface {
|
||||
$self->rotate_points($expolygon, $rotate_vector);
|
||||
|
||||
my ($expolygon_off) = $expolygon->offset_ex(scale 0.2);
|
||||
return {} if !$expolygon_off; # skip some very small polygons (which shouldn't arrive here)
|
||||
my $bounding_box = [ $expolygon_off->bounding_box ];
|
||||
|
||||
my $min_spacing = scale $params{flow_spacing};
|
||||
|
Loading…
x
Reference in New Issue
Block a user