Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Ranellucci <aar@cpan.org>2011-11-29 13:15:29 +0400
committerAlessandro Ranellucci <aar@cpan.org>2011-11-29 13:15:50 +0400
commitd168ecbb4e9b7b9b808e3de904583d9cfc014708 (patch)
tree7d56e3bb2645ecc510b8fd074710fdd9af72afe1 /lib/Slic3r/Layer.pm
parent248ed8589acb539656696d87b39e5a0365cf2aab (diff)
Bugfix: fill density = 0 was preventing generation of extra solid layers. #75
Diffstat (limited to 'lib/Slic3r/Layer.pm')
-rw-r--r--lib/Slic3r/Layer.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Slic3r/Layer.pm b/lib/Slic3r/Layer.pm
index 187e6ffbe..754543f0f 100644
--- a/lib/Slic3r/Layer.pm
+++ b/lib/Slic3r/Layer.pm
@@ -349,6 +349,9 @@ sub remove_small_perimeters {
sub process_bridges {
my $self = shift;
+ # no bridges are possible if we have no internal surfaces
+ return if $Slic3r::fill_density == 0;
+
my @bridges = ();
# a bottom surface on a layer > 0 is either a bridge or a overhang