Skip to content

Commit

Permalink
Fix Mac build (hopefully)
Browse files Browse the repository at this point in the history
  • Loading branch information
wawanbreton committed Dec 13, 2024
1 parent 23a3a3f commit 71c8e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/FffGcodeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3106,11 +3106,11 @@ bool FffGcodeWriter::processInsets(
const AngleDegrees actual_wall_overhang_angle = wall_overhang_angle + static_cast<double>(angle_index) * overhang_step;
const Ratio speed_factor = angle_index == 0 ? 1.0_r : overhang_speed_factors[angle_index - 1];

overhang_masks.emplace_back(get_supported_region(actual_wall_overhang_angle), speed_factor);
overhang_masks.push_back(LayerPlan::OverhangMask{ get_supported_region(actual_wall_overhang_angle), speed_factor });
}

// Add an empty region, which actually means everything and should be ignored anyway
overhang_masks.emplace_back(Shape(), overhang_speed_factors.back());
overhang_masks.push_back(LayerPlan::OverhangMask{ Shape(), overhang_speed_factors.back() });
}
gcode_layer.setOverhangMasks(overhang_masks);

Expand Down

0 comments on commit 71c8e14

Please sign in to comment.