mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-11-09 03:12:26 +00:00
Fixes for bridges
This commit is contained in:
1 parent
459577f9a2
commit
84abd41cf4
9 files changed
+131
-31
No files matched your search
@@ -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