mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 06:33:57 -06:00
Fixes for bridges
This commit is contained in:
parent
459577f9a2
commit
84abd41cf4
9 changed files with 131 additions and 31 deletions
|
@ -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) = @_;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue