mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-05-11 17:29:06 +08:00
Warning fix: removed needless tautological check
This commit is contained in:
parent
0e157b5b07
commit
c284a65caa
@ -496,7 +496,7 @@ std::string WipeTowerIntegration::prime(GCode &gcodegen)
|
||||
assert(m_layer_idx == 0);
|
||||
std::string gcode;
|
||||
|
||||
if (&m_priming != nullptr) {
|
||||
|
||||
// Disable linear advance for the wipe tower operations.
|
||||
//gcode += (gcodegen.config().gcode_flavor == gcfRepRap ? std::string("M572 D0 S0\n") : std::string("M900 K0\n"));
|
||||
|
||||
@ -526,7 +526,7 @@ std::string WipeTowerIntegration::prime(GCode &gcodegen)
|
||||
gcodegen.m_wipe.path.points.emplace_back(wipe_tower_point_to_object_point(gcodegen,
|
||||
WipeTower::xy((std::abs(m_left - m_priming.back().end_pos.x) < std::abs(m_right - m_priming.back().end_pos.x)) ? m_right : m_left,
|
||||
m_priming.back().end_pos.y)));*/
|
||||
}
|
||||
|
||||
return gcode;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user