mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-07 06:57:36 -06:00
FIX: wipe tower is not generate when insert custom gcode
Change-Id: I2e21955e4a29b0ee1aa3150f26ccef4db5850413 (cherry picked from commit 677151a26c9724993bad6d802015e76a700555f4)
This commit is contained in:
parent
34f52b213c
commit
96d2882b8d
2 changed files with 3 additions and 14 deletions
|
@ -341,7 +341,7 @@ std::vector<unsigned int> Print::extruders(bool conside_custom_gcode) const
|
|||
for (auto plate_data : m_model.plates_custom_gcodes) {
|
||||
for (auto item : plate_data.second.gcodes) {
|
||||
if (item.type == CustomGCode::Type::ToolChange)
|
||||
extruders.push_back((unsigned int)item.extruder);
|
||||
extruders.push_back((unsigned int)(item.extruder - 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue