mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-02-15 08:59:39 -07:00
FIX: the layer time of PA line display nan
jira: STUDIO-12996 Change-Id: Ib03dc506bfdc8f7f2c0a8cff89ba6e2d4b784988 (cherry picked from commit b8e1be7b3cb9d2948fd2fe45c280b1ec3bcea525)
This commit is contained in:
parent
7aca9f9535
commit
0cb19a2bac
1 changed files with 1 additions and 0 deletions
|
|
@ -2890,6 +2890,7 @@ void GCode::_do_export(Print& print, GCodeOutputStream &file, ThumbnailsGenerato
|
|||
// SoftFever: calib
|
||||
if (print.calib_params().mode == CalibMode::Calib_PA_Line) {
|
||||
std::string gcode;
|
||||
gcode += ";" + GCodeProcessor::reserved_tag(GCodeProcessor::ETags::Layer_Change) + "\n";
|
||||
if ((print.default_object_config().outer_wall_acceleration.value > 0 && print.default_object_config().outer_wall_acceleration.value > 0)) {
|
||||
gcode += m_writer.set_print_acceleration((unsigned int)floor(print.default_object_config().outer_wall_acceleration.value + 0.5));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue