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-24 15:53:09 +0400
committerAlessandro Ranellucci <aar@cpan.org>2011-11-24 15:53:09 +0400
commit47d347e1b2039a48a52d8a876fb633b5008b1de4 (patch)
tree0b0b32d414bc29e9d3adabd9e7f126754d7f8255 /lib/Slic3r/Print.pm
parent0ecfd68c10c2ef7444a2b6000e3dc892c134ce40 (diff)
Revert "Disable retraction when moving over infill space. #29"
This reverts commit d6ed9c6f345a57fcc0f3b7cb6e48a81f1c107591.
Diffstat (limited to 'lib/Slic3r/Print.pm')
-rw-r--r--lib/Slic3r/Print.pm7
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/Slic3r/Print.pm b/lib/Slic3r/Print.pm
index dbbb7c635..e709129ac 100644
--- a/lib/Slic3r/Print.pm
+++ b/lib/Slic3r/Print.pm
@@ -402,11 +402,8 @@ sub export_gcode {
# extrude fills
for my $fill (@{ $layer->fills }) {
- for ($fill->shortest_path($extruder->last_pos)) {
- printf $fh $extruder->extrude($_, 'fill');
- $extruder->enable_retraction(0);
- }
- $extruder->enable_retraction(1);
+ printf $fh $extruder->extrude($_, 'fill')
+ for $fill->shortest_path($extruder->last_pos);
}
}