mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-24 00:28:38 -07:00
Merge fc880ecb51 into 506fde8f86
This commit is contained in:
commit
b639ec657e
1 changed files with 2 additions and 2 deletions
|
|
@ -560,7 +560,7 @@ std::string GCodeWriter::lazy_lift(LiftType lift_type, bool spiral_vase)
|
|||
int filament_id = filament()->id();
|
||||
double above = this->config.retract_lift_above.get_at(extruder_id);
|
||||
double below = this->config.retract_lift_below.get_at(extruder_id);
|
||||
if (m_pos.z() >= above && m_pos.z() <= below)
|
||||
if (m_pos.z() >= above && (m_pos.z() <= below || below == 0.))
|
||||
target_lift = this->config.z_hop.get_at(filament_id);
|
||||
}
|
||||
// BBS
|
||||
|
|
@ -588,7 +588,7 @@ std::string GCodeWriter::eager_lift(const LiftType type) {
|
|||
int filament_id = filament()->id();
|
||||
double above = this->config.retract_lift_above.get_at(extruder_id);
|
||||
double below = this->config.retract_lift_below.get_at(extruder_id);
|
||||
if (m_pos.z() >= above && m_pos.z() <= below)
|
||||
if (m_pos.z() >= above && (m_pos.z() <= below || below == 0.))
|
||||
target_lift = this->config.z_hop.get_at(filament_id);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue