mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-12-28 02:10:30 -07:00
FIX: fix the drawing problem caused by timelapse gcode
jira: STUDIO-9620 Change-Id: Iaa1af887e646a136e657ccecabe3c8e6824131b3 (cherry picked from commit b028f971d663dcafd63b0ce92cc9b606b7c9cf37)
This commit is contained in:
parent
ccc52c20c9
commit
5c4e8ca25f
1 changed files with 2 additions and 2 deletions
|
|
@ -4802,13 +4802,13 @@ LayerResult GCode::process_layer(
|
|||
if (m_support_traditional_timelapse && printer_structure == PrinterStructure::psI3)
|
||||
m_support_traditional_timelapse = false;
|
||||
|
||||
gcode += this->retract(false, false, LiftType::NormalLift);
|
||||
gcode += this->retract(false, false, LiftType::SpiralLift);
|
||||
m_writer.add_object_change_labels(gcode);
|
||||
|
||||
std::string timepals_gcode = insert_timelapse_gcode();
|
||||
if(!timepals_gcode.empty()){
|
||||
gcode += timepals_gcode;
|
||||
m_writer.set_current_position_clear(false);
|
||||
m_writer.set_current_position_clear(true);
|
||||
//BBS: check whether custom gcode changes the z position. Update if changed
|
||||
double temp_z_after_timepals_gcode;
|
||||
if (GCodeProcessor::get_last_z_from_gcode(timepals_gcode, temp_z_after_timepals_gcode)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue