mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
Fix regression in lift, includes regression test
This commit is contained in:
parent
fd7795da59
commit
a2ea191d84
2 changed files with 23 additions and 14 deletions
|
@ -500,7 +500,7 @@ GCodeWriter::lift()
|
|||
{
|
||||
double above = this->config.retract_lift_above.get_at(0);
|
||||
double below = this->config.retract_lift_below.get_at(0);
|
||||
if (this->_pos.z >= above && this->_pos.z <= below && below > 0)
|
||||
if (this->_pos.z >= above && (below == 0 || this->_pos.z <= below))
|
||||
target_lift = this->config.retract_lift.get_at(0);
|
||||
}
|
||||
if (this->_lifted == 0 && target_lift > 0) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue