mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-24 09:11:23 -06:00
Fix to previous commit
This commit is contained in:
parent
66964c44c1
commit
90d5cf1735
1 changed files with 1 additions and 3 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue