diff options
author | Alessandro Ranellucci <aar@cpan.org> | 2014-11-23 20:59:18 +0300 |
---|---|---|
committer | Alessandro Ranellucci <aar@cpan.org> | 2014-11-23 20:59:18 +0300 |
commit | 2c64c3dd5b4f6d6e135cde1165b246992171d938 (patch) | |
tree | ebb04414a64010755a63ce2da61aa2caf0a71a9e /xs/src/libslic3r/GCodeWriter.cpp | |
parent | c1e26a70f8667f22a51b3a320c95982a24a5808a (diff) |
Bugfix: spiral vase was not working when extrusion axis was not E. #2350
Diffstat (limited to 'xs/src/libslic3r/GCodeWriter.cpp')
-rw-r--r-- | xs/src/libslic3r/GCodeWriter.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xs/src/libslic3r/GCodeWriter.cpp b/xs/src/libslic3r/GCodeWriter.cpp index 0133c2265..6554de342 100644 --- a/xs/src/libslic3r/GCodeWriter.cpp +++ b/xs/src/libslic3r/GCodeWriter.cpp @@ -29,14 +29,7 @@ void GCodeWriter::apply_print_config(const PrintConfig &print_config) { this->config.apply(print_config, true); - - if (FLAVOR_IS(gcfMach3)) { - this->_extrusion_axis = "A"; - } else if (FLAVOR_IS(gcfNoExtrusion)) { - this->_extrusion_axis = ""; - } else { - this->_extrusion_axis = this->config.extrusion_axis; - } + this->_extrusion_axis = this->config.get_extrusion_axis(); } void |