diff options
author | bubnikv <bubnikv@gmail.com> | 2017-07-17 10:07:18 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-07-17 10:07:18 +0300 |
commit | 2c82a327dd9e5270cf0f3a976360c8ec99ed3452 (patch) | |
tree | 2bfe6a40b0b4e878720043861065bbce74882e01 /xs/src/libslic3r/Print.cpp | |
parent | ed73f0b6efdca99a6bbf0d13b0d7b88e4d831d6d (diff) |
Fix of "Wipe Tower ... only supported ... .4 nozzle" error when slicingversion_1.36.0
a non .4mm nozzle single extruder (Stock MK2S) print
https://github.com/prusa3d/Slic3r/issues/426
The constraint for the "Wipe Tower" checkbox has been raised, so
one will get this error message only if the printer settings has more
than one extruder configured, as the wipe tower does not get generated
for a single extruder print.
Diffstat (limited to 'xs/src/libslic3r/Print.cpp')
-rw-r--r-- | xs/src/libslic3r/Print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xs/src/libslic3r/Print.cpp b/xs/src/libslic3r/Print.cpp index f1631b6d8..df825b05c 100644 --- a/xs/src/libslic3r/Print.cpp +++ b/xs/src/libslic3r/Print.cpp @@ -557,7 +557,7 @@ std::string Print::validate() const return "The Spiral Vase option can only be used when printing single material objects."; } - if (this->config.wipe_tower && ! this->objects.empty()) { + if (this->has_wipe_tower() && ! this->objects.empty()) { for (auto dmr : this->config.nozzle_diameter.values) if (std::abs(dmr - 0.4) > EPSILON) return "The Wipe Tower is currently only supported for the 0.4mm nozzle diameter."; @@ -939,7 +939,7 @@ void Print::_make_brim() } // Wipe tower support. -bool Print::has_wipe_tower() +bool Print::has_wipe_tower() const { return this->config.single_extruder_multi_material.value && |