Remove unused parameter from place_seam method (#6421)

This commit is contained in:
Vovodroid 2024-08-18 11:32:56 +03:00 committed by GitHub
parent 12c4ff0d93
commit 2acd858bf3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -4493,8 +4493,7 @@ std::string GCode::extrude_loop(ExtrusionLoop loop, std::string description, dou
float seam_overhang = std::numeric_limits<float>::lowest();
if (!m_config.spiral_mode && description == "perimeter") {
assert(m_layer != nullptr);
bool is_outer_wall_first = m_config.wall_sequence == WallSequence::OuterInner;
m_seam_placer.place_seam(m_layer, loop, is_outer_wall_first, this->last_pos(), seam_overhang);
m_seam_placer.place_seam(m_layer, loop, this->last_pos(), seam_overhang);
} else
loop.split_at(last_pos, false);