Bugfix: no-extrusion was ignored

This commit is contained in:
Alessandro Ranellucci 2012-04-08 21:27:38 +02:00
parent 19dc69dd74
commit a800b97fdd

View File

@ -624,6 +624,7 @@ sub validate {
# G-code flavors # G-code flavors
$Slic3r::extrusion_axis = 'A' if $Slic3r::gcode_flavor eq 'mach3'; $Slic3r::extrusion_axis = 'A' if $Slic3r::gcode_flavor eq 'mach3';
$Slic3r::extrusion_axis = '' if $Slic3r::gcode_flavor eq 'no-extrusion';
# legacy with existing config files # legacy with existing config files
$Slic3r::small_perimeter_speed ||= $Slic3r::perimeter_speed; $Slic3r::small_perimeter_speed ||= $Slic3r::perimeter_speed;