fix issues after rebase

This commit is contained in:
PavelMikus 2022-11-28 16:14:46 +01:00 committed by Pavel Mikuš
parent d66a05ebdc
commit 5690be1b76
2 changed files with 2 additions and 2 deletions

View File

@ -2171,7 +2171,7 @@ LayerResult GCode::process_layer(
std::vector<const Layer*> layers_ptrs; std::vector<const Layer*> layers_ptrs;
layers_ptrs.reserve(layers.size()); layers_ptrs.reserve(layers.size());
for (const LayerToPrint &layer_to_print : layers) { for (const ObjectLayerToPrint &layer_to_print : layers) {
layers_ptrs.push_back(layer_to_print.object_layer); layers_ptrs.push_back(layer_to_print.object_layer);
} }
m_extrusion_quality_estimator.prepare_for_new_layer(layers_ptrs); m_extrusion_quality_estimator.prepare_for_new_layer(layers_ptrs);

View File

@ -670,7 +670,7 @@ SupportPoints check_stability(const PrintObject *po, const Params &params)
SupportPoints supp_points{}; SupportPoints supp_points{};
SupportGridFilter supports_presence_grid(po, params.min_distance_between_support_points); SupportGridFilter supports_presence_grid(po, params.min_distance_between_support_points);
ActiveObjectParts active_object_parts{}; ActiveObjectParts active_object_parts{};
LD prev_layer_ext_perim_lines({}); LD prev_layer_ext_perim_lines;
std::unordered_map<size_t, size_t> prev_slice_idx_to_object_part_mapping; std::unordered_map<size_t, size_t> prev_slice_idx_to_object_part_mapping;
std::unordered_map<size_t, size_t> next_slice_idx_to_object_part_mapping; std::unordered_map<size_t, size_t> next_slice_idx_to_object_part_mapping;