mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 19:12:38 -07:00
Bugfix: support material and brim didn't work correctly. Includes unit test. #1074
This commit is contained in:
@@ -86,10 +86,11 @@ sub length {
|
||||
|
||||
sub grow {
|
||||
my $self = shift;
|
||||
return Slic3r::Geometry::Clipper::offset(
|
||||
[ Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..($#$self-1)]) ],
|
||||
@_,
|
||||
);
|
||||
return map Slic3r::Polygon->new($_),
|
||||
Slic3r::Geometry::Clipper::offset(
|
||||
[ Slic3r::Polygon->new(@$self, CORE::reverse @$self[1..($#$self-1)]) ],
|
||||
@_,
|
||||
);
|
||||
}
|
||||
|
||||
sub nearest_point_to {
|
||||
|
||||
Reference in New Issue
Block a user