mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
fixed an issue when purge_in_prime_tower is disabled for non bbl printers
This commit is contained in:
parent
15358b211d
commit
50f776fe6b
1 changed files with 1 additions and 1 deletions
|
@ -925,7 +925,7 @@ static std::vector<Vec2d> get_path_of_change_filament(const Print& print)
|
|||
assert(m_layer_idx >= 0);
|
||||
if (m_layer_idx >= (int) m_tool_changes.size())
|
||||
return gcode;
|
||||
if (gcodegen.config().purge_in_prime_tower) {
|
||||
if (!gcodegen.is_BBL_Printer()) {
|
||||
if (gcodegen.writer().need_toolchange(extruder_id) || finish_layer) {
|
||||
if (m_layer_idx < (int) m_tool_changes.size()) {
|
||||
if (!(size_t(m_tool_change_idx) < m_tool_changes[m_layer_idx].size()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue