diff options
author | bubnikv <bubnikv@gmail.com> | 2017-12-11 19:19:55 +0300 |
---|---|---|
committer | bubnikv <bubnikv@gmail.com> | 2017-12-11 19:19:55 +0300 |
commit | 61e6f23ed2d3366cc7370ba75ddd0d1c1404f6f5 (patch) | |
tree | 06e08cb6719cf9ba0614421866764d0a68fe5874 /xs/src/libslic3r/Layer.hpp | |
parent | 19388285205ff46379ce0f9b0291aff1badd6568 (diff) |
Fix of
"Multimaterial printer switches filament at the wrong time during a print"
https://github.com/prusa3d/Slic3r/issues/607
There was a single layer between the raft top and the object first layer
missing on the wipe tower, and after this missing layer all the tool
changes were shifted by one layer, meaning two color print had the colors
switched.
Diffstat (limited to 'xs/src/libslic3r/Layer.hpp')
-rw-r--r-- | xs/src/libslic3r/Layer.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xs/src/libslic3r/Layer.hpp b/xs/src/libslic3r/Layer.hpp index f8fdcdd4d..f3b460443 100644 --- a/xs/src/libslic3r/Layer.hpp +++ b/xs/src/libslic3r/Layer.hpp @@ -161,7 +161,9 @@ public: // Is there any valid extrusion assigned to this LayerRegion? virtual bool has_extrusions() const { return ! support_fills.empty(); } -protected: +//protected: + // The constructor has been made public to be able to insert additional support layers for the skirt or a wipe tower + // between the raft and the object first layer. SupportLayer(size_t id, PrintObject *object, coordf_t height, coordf_t print_z, coordf_t slice_z) : Layer(id, object, height, print_z, slice_z) {} virtual ~SupportLayer() {} |