mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 06:04:01 -06:00
FIX: Z hop is still enabled when upper boundary is zero.
Jira: STUDIO-4893 Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com> Change-Id: I5f46a02e1fbb15ff43e253e3a184aa6cc38e7598
This commit is contained in:
parent
8aa0c06137
commit
79eb44635d
2 changed files with 3 additions and 1 deletions
|
@ -687,7 +687,7 @@ std::string GCodeWriter::lift(LiftType lift_type, bool spiral_vase)
|
|||
//BBS
|
||||
double above = this->config.retract_lift_above.get_at(m_extruder->id());
|
||||
double below = this->config.retract_lift_below.get_at(m_extruder->id());
|
||||
if (m_pos.z() >= above && (below == 0 || m_pos.z() <= below))
|
||||
if (m_pos.z() >= above && m_pos.z() <= below)
|
||||
target_lift = this->config.z_hop.get_at(m_extruder->id());
|
||||
}
|
||||
// BBS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue