File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -556,18 +556,14 @@ std::optional<AngleDegrees> bridgeAngle(
556556 Shape prev_layer_outline; // we also want the complete outline of the previous layer
557557 Shape prev_layer_infill;
558558
559- const Ratio sparse_infill_max_density = settings.get <Ratio>(" bridge_sparse_infill_max_density" );
560-
561559 // include parts from all meshes
562560 for (const std::shared_ptr<SliceMeshStorage>& mesh_ptr : storage.meshes )
563561 {
564562 const auto & mesh = *mesh_ptr;
565563 if (mesh.isPrinted ())
566564 {
567565 const coord_t infill_line_distance = mesh.settings .get <coord_t >(" infill_line_distance" );
568- const coord_t infill_line_width = mesh.settings .get <coord_t >(" infill_line_width" );
569- double density = static_cast <double >(infill_line_width) / static_cast <double >(infill_line_distance);
570- const bool part_has_sparse_infill = (infill_line_distance == 0 ) || density <= sparse_infill_max_density;
566+ const bool part_has_sparse_infill = infill_line_distance == 0 ;
571567
572568 for (const SliceLayerPart& prev_layer_part : mesh.layers [layer_nr - bridge_layer].parts )
573569 {
You can’t perform that action at this time.
0 commit comments