mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-08 06:24:01 -06:00
Bugfix: support material and brim didn't work correctly. Includes unit test. #1074
This commit is contained in:
parent
d4119b0eb1
commit
f5e48a306d
3 changed files with 27 additions and 4 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue