start_perimeters_at_non_overhang was still partially enforced

This commit is contained in:
Alessandro Ranellucci 2013-07-07 19:10:50 +02:00
parent f4db7625bc
commit c57a88c943

View file

@ -168,8 +168,9 @@ sub extrude_loop {
@candidates = @concave; @candidates = @concave;
if (!@candidates) { if (!@candidates) {
# if none, look for any non-overhang vertex # if none, look for any non-overhang vertex
@candidates = grep !Boost::Geometry::Utils::point_covered_by_multi_polygon($_, $self->_layer_overhangs), if ($Slic3r::Config->start_perimeters_at_non_overhang) {
@{$loop->polygon}; @candidates = grep !Boost::Geometry::Utils::point_covered_by_multi_polygon($_, $self->_layer_overhangs), @{$loop->polygon};
}
if (!@candidates) { if (!@candidates) {
# if none, all points are valid candidates # if none, all points are valid candidates
@candidates = @{$loop->polygon}; @candidates = @{$loop->polygon};