Skip to content

Commit

Permalink
fixed an issue when purge_in_prime_tower is disabled for non bbl prin…
Browse files Browse the repository at this point in the history
…ters
  • Loading branch information
SoftFever committed Nov 12, 2023
1 parent 15358b2 commit 50f776f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libslic3r/GCode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()))
Expand Down

0 comments on commit 50f776f

Please sign in to comment.