projects/aports·blob master · refs

33 lines · 1.8 KiB

1--- CuraEngine-5.3.0/src/FffGcodeWriter.cpp.fmt10 2023-03-07 21:33:22.000000000 +0900
2+++ CuraEngine-5.3.0/src/FffGcodeWriter.cpp 2023-07-02 00:01:20.042447483 +0900
3@@ -996,7 +996,7 @@ void FffGcodeWriter::processRaft(const S
4
5 LayerPlan& FffGcodeWriter::processLayer(const SliceDataStorage& storage, LayerIndex layer_nr, const size_t total_layers) const
6 {
7- spdlog::debug("GcodeWriter processing layer {} of {}", layer_nr, total_layers);
8+ spdlog::debug("GcodeWriter processing layer {} of {}", static_cast<int>(layer_nr), total_layers);
9
10 const Settings& mesh_group_settings = Application::getInstance().current_slice->scene.current_mesh_group->settings;
11 coord_t layer_thickness = mesh_group_settings.get<coord_t>("layer_height");
12--- CuraEngine-5.3.0/src/LayerPlanBuffer.cpp.fmt10 2023-03-07 21:33:22.000000000 +0900
13+++ CuraEngine-5.3.0/src/LayerPlanBuffer.cpp 2023-07-02 00:03:16.060680917 +0900
14@@ -82,7 +82,7 @@ void LayerPlanBuffer::addConnectingTrave
15
16 if (! new_layer_destination_state)
17 {
18- spdlog::warn("Layer {} is empty (or it has empty extruder plans). Temperature control and cross layer travel moves might suffer!", newest_layer->layer_nr);
19+ spdlog::warn("Layer {} is empty (or it has empty extruder plans). Temperature control and cross layer travel moves might suffer!", static_cast<int>(newest_layer->layer_nr));
20 return;
21 }
22
23--- CuraEngine-5.3.0/src/Weaver.cpp.fmt10 2023-03-07 21:33:22.000000000 +0900
24+++ CuraEngine-5.3.0/src/Weaver.cpp 2023-07-02 00:04:08.697786833 +0900
25@@ -55,7 +55,7 @@ void Weaver::weave(MeshGroup* meshgroup)
26 }
27 if (starting_layer_idx > 0)
28 {
29- spdlog::warn("First {} layers are empty!", starting_layer_idx);
30+ spdlog::warn("First {} layers are empty!", static_cast<int>(starting_layer_idx));
31 }
32 }
33