mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-05 13:04:03 -06:00
Removed useless functions
This commit is contained in:
parent
d8e098ab0e
commit
09be25a156
2 changed files with 4 additions and 35 deletions
|
@ -592,7 +592,7 @@ sub _detect_bridge_direction {
|
|||
} @clipped_lines;
|
||||
|
||||
# sum length of bridged lines
|
||||
$directions{-$angle} = sum(map Slic3r::Geometry::line_length($_), @clipped_lines) // 0;
|
||||
$directions{-$angle} = sum(map $_->length, @clipped_lines) // 0;
|
||||
}
|
||||
|
||||
# this could be slightly optimized with a max search instead of the sort
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue