Removed useless functions

This commit is contained in:
Alessandro Ranellucci 2013-11-06 21:09:28 +01:00
parent d8e098ab0e
commit 09be25a156
2 changed files with 4 additions and 35 deletions

View file

@ -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