mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-20 20:03:47 +00:00
Fix random crashes on 32-bit. Thank you Valgrind
This commit is contained in:
@@ -221,6 +221,7 @@ sub make_perimeters {
|
|||||||
# and then we offset back and forth by half the infill spacing to only consider the
|
# and then we offset back and forth by half the infill spacing to only consider the
|
||||||
# non-collapsing regions
|
# non-collapsing regions
|
||||||
$self->fill_surfaces->append(
|
$self->fill_surfaces->append(
|
||||||
|
map Slic3r::Surface->new(expolygon => $_, surface_type => S_TYPE_INTERNAL), # use a bogus surface type
|
||||||
@{offset2_ex(
|
@{offset2_ex(
|
||||||
[ map @{$_->simplify_p(&Slic3r::SCALED_RESOLUTION)}, @{union_ex(\@last)} ],
|
[ map @{$_->simplify_p(&Slic3r::SCALED_RESOLUTION)}, @{union_ex(\@last)} ],
|
||||||
-($pspacing/2 + $ispacing/2),
|
-($pspacing/2 + $ispacing/2),
|
||||||
|
|||||||
Reference in New Issue
Block a user