Skip to content

Commit

Permalink
Correct typo: to -> too.
Browse files Browse the repository at this point in the history
Was still left over from the code review for CURA-10670, committed as part of CURA-10829.
  • Loading branch information
rburema committed Aug 15, 2023
1 parent 28d365a commit b85dd9f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/infill.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ void Infill::generate(
// infill pattern is concentric or if the small_area_width is zero.
if (pattern != EFillMethod::CONCENTRIC && small_area_width > 0)
{
const auto to_small_length = INT2MM(static_cast<double>(infill_line_width) / 2.0);
const auto too_small_length = INT2MM(static_cast<double>(infill_line_width) / 2.0);

// Split the infill region in a narrow region and the normal region.
Polygons small_infill = inner_contour;
inner_contour = inner_contour.offset(-small_area_width / 2);
inner_contour.removeSmallAreas(to_small_length * to_small_length, true);
inner_contour.removeSmallAreas(too_small_length * too_small_length, true);
inner_contour = inner_contour.offset(small_area_width / 2);
if (prevent_small_exposed_to_air.area() > 0)
{
Expand Down

1 comment on commit b85dd9f

@jellespijker
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'CGcodeAnalyzer'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.10.

Benchmark suite Current: b85dd9f Previous: a62296f Ratio
Extrusion-Axis new_spikes_and_holes_2022.gcode 0.0027 mm 0.00548 mm 2.03

This comment was automatically generated by workflow using github-action-benchmark.

Please sign in to comment.