| 1 | |
| 2 | |
| 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 | |
| 13 | |
| 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 | |
| 24 | |
| 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 |
|