diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2011-11-23 12:49:39 +0400 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2011-11-23 12:49:39 +0400 |
commit | 13ef24b5ebd633a5286ee536b8f782c5a7e56d80 (patch) | |
tree | 3907e0551c5349fe8246fb548f41082f0373e0b0 /lib/Slic3r/Fill | |
parent | d13a0e250391bfd062d5b5c775ac789b9ef89c8e (diff) |
Fixes, improvements and refactoring for bridges and solid surfaces.
Diffstat (limited to 'lib/Slic3r/Fill')
-rw-r--r-- | lib/Slic3r/Fill/Base.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Slic3r/Fill/Base.pm b/lib/Slic3r/Fill/Base.pm index 630dabd26..0ca81c3f7 100644 --- a/lib/Slic3r/Fill/Base.pm +++ b/lib/Slic3r/Fill/Base.pm @@ -24,7 +24,7 @@ sub infill_direction { } # use bridge angle - if ($surface->isa('Slic3r::Surface::Bridge') && defined $surface->bridge_angle) { + if ($surface->surface_type eq 'bottom' && $self->layer->id > 0 && defined $surface->bridge_angle) { Slic3r::debugf "Filling bridge with angle %d\n", $surface->bridge_angle; $rotate[0] = Slic3r::Geometry::deg2rad($surface->bridge_angle); } |