Skip to content

Commit 0a81fe8

Browse files
committed
Add duration parameter to sendLayerComplete calls in raft
Updated all sendLayerComplete invocations in processRaft to include a Duration(0.0) argument, aligning with the updated method signature.
1 parent 67850b8 commit 0a81fe8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/FffGcodeWriter.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ void FffGcodeWriter::processRaft(const SliceDataStorage& storage)
638638
= *new LayerPlan(storage, layer_nr, z, layer_height, base_extruder_nr, fan_speed_layer_time_settings_per_extruder_raft_base, comb_offset, line_width, avoid_distance);
639639
gcode_layer.setIsInside(true);
640640

641-
Application::getInstance().communication_->sendLayerComplete(layer_nr, z, layer_height);
641+
Application::getInstance().communication_->sendLayerComplete(layer_nr, z, layer_height, Duration(0.0));
642642

643643
OpenLinesSet raft_lines;
644644
AngleDegrees fill_angle = (num_surface_layers + num_interface_layers) % 2 ? 45 : 135; // 90 degrees rotated from the interface layer.
@@ -824,7 +824,7 @@ void FffGcodeWriter::processRaft(const SliceDataStorage& storage)
824824

825825
startRaftLayer(storage, gcode_layer, layer_nr, interface_extruder_nr, current_extruder_nr);
826826

827-
Application::getInstance().communication_->sendLayerComplete(layer_nr, z, interface_layer_height);
827+
Application::getInstance().communication_->sendLayerComplete(layer_nr, z, interface_layer_height, Duration(0.0));
828828

829829
Shape raft_outline_path;
830830
const coord_t small_offset = gcode_layer.configs_storage_.raft_interface_config.getLineWidth()
@@ -989,7 +989,7 @@ void FffGcodeWriter::processRaft(const SliceDataStorage& storage)
989989
// make sure that we are using the correct extruder to print raft
990990
startRaftLayer(storage, gcode_layer, layer_nr, surface_extruder_nr, current_extruder_nr);
991991

992-
Application::getInstance().communication_->sendLayerComplete(layer_nr, z, surface_layer_height);
992+
Application::getInstance().communication_->sendLayerComplete(layer_nr, z, surface_layer_height, Duration(0.0));
993993

994994
Shape raft_outline_path;
995995
const coord_t small_offset = gcode_layer.configs_storage_.raft_interface_config.getLineWidth()

0 commit comments

Comments
 (0)