mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Fixes for bridges
This commit is contained in:
@@ -15,18 +15,6 @@ sub lines {
|
||||
return @lines;
|
||||
}
|
||||
|
||||
# superclass doesn't check whether last line of our closed polyline
|
||||
# is parallel to first one, so let's do it here
|
||||
sub merge_continuous_lines {
|
||||
my $self = shift;
|
||||
$self->SUPER::merge_continuous_lines(@_);
|
||||
|
||||
my @lines = $self->lines;
|
||||
if ($lines[-1]->parallel_to($lines[0])) {
|
||||
shift @{$self->points};
|
||||
}
|
||||
}
|
||||
|
||||
sub encloses_point {
|
||||
my $self = shift;
|
||||
my ($point) = @_;
|
||||
|
||||
Reference in New Issue
Block a user