mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 02:19:05 +08:00
Fix to previous commit
This commit is contained in:
parent
66964c44c1
commit
90d5cf1735
@ -400,9 +400,7 @@ void ToolOrdering::fill_wipe_tower_partitions(const PrintConfig &config, coordf_
|
|||||||
// and maybe other problems. We will therefore go through layer_tools and detect and fix this.
|
// and maybe other problems. We will therefore go through layer_tools and detect and fix this.
|
||||||
// So, if there is a non-object layer starting with different extruder than the last one ended with (or containing more than one extruder),
|
// So, if there is a non-object layer starting with different extruder than the last one ended with (or containing more than one extruder),
|
||||||
// we'll mark it with has_wipe tower.
|
// we'll mark it with has_wipe tower.
|
||||||
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
assert(! m_layer_tools.empty() && m_layer_tools.front().has_wipe_tower);
|
||||||
// assert(! m_layer_tools.empty() && m_layer_tools.front().has_wipe_tower);
|
|
||||||
//@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
|
|
||||||
if (! m_layer_tools.empty() && m_layer_tools.front().has_wipe_tower) {
|
if (! m_layer_tools.empty() && m_layer_tools.front().has_wipe_tower) {
|
||||||
for (size_t i = 0; i + 1 < m_layer_tools.size();) {
|
for (size_t i = 0; i + 1 < m_layer_tools.size();) {
|
||||||
const LayerTools < = m_layer_tools[i];
|
const LayerTools < = m_layer_tools[i];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user