typo - fix wrong bridge direction #621
fixes two out of three reported in #621 (but not the first one) likely the same issue in #706 and #1003
This commit is contained in:
parent
a6243124a9
commit
28467b68e0
1 changed files with 1 additions and 1 deletions
|
@ -538,7 +538,7 @@ sub process_bridges {
|
||||||
} elsif (@edges) {
|
} elsif (@edges) {
|
||||||
my $center = Slic3r::Geometry::bounding_box_center([ map @$_, @edges ]);
|
my $center = Slic3r::Geometry::bounding_box_center([ map @$_, @edges ]);
|
||||||
my $x = my $y = 0;
|
my $x = my $y = 0;
|
||||||
foreach my $point (map @$, @edges) {
|
foreach my $point (map @$_, @edges) {
|
||||||
my $line = Slic3r::Line->new($center, $point);
|
my $line = Slic3r::Line->new($center, $point);
|
||||||
my $dir = $line->direction;
|
my $dir = $line->direction;
|
||||||
my $len = $line->length;
|
my $len = $line->length;
|
||||||
|
|
Loading…
Reference in a new issue