@@ -5611,8 +5611,7 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description,
5611
5611
continue ;
5612
5612
path_length += line_length;
5613
5613
auto dE = e_per_mm * line_length;
5614
- if (!this ->on_first_layer () && m_small_area_infill_flow_compensator
5615
- && m_config.small_area_infill_flow_compensation .value ) {
5614
+ if (m_small_area_infill_flow_compensator && m_config.small_area_infill_flow_compensation .value ) {
5616
5615
auto oldE = dE;
5617
5616
dE = m_small_area_infill_flow_compensator->modify_flow (line_length, dE, path.role ());
5618
5617
@@ -5653,8 +5652,7 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description,
5653
5652
if (line_length < EPSILON)
5654
5653
continue ;
5655
5654
auto dE = e_per_mm * line_length;
5656
- if (!this ->on_first_layer () && m_small_area_infill_flow_compensator
5657
- && m_config.small_area_infill_flow_compensation .value ) {
5655
+ if (m_small_area_infill_flow_compensator && m_config.small_area_infill_flow_compensation .value ) {
5658
5656
auto oldE = dE;
5659
5657
dE = m_small_area_infill_flow_compensator->modify_flow (line_length, dE, path.role ());
5660
5658
@@ -5677,8 +5675,7 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description,
5677
5675
continue ;
5678
5676
const Vec2d center_offset = this ->point_to_gcode (arc.center ) - this ->point_to_gcode (arc.start_point );
5679
5677
auto dE = e_per_mm * arc_length;
5680
- if (!this ->on_first_layer () && m_small_area_infill_flow_compensator
5681
- && m_config.small_area_infill_flow_compensation .value ) {
5678
+ if (m_small_area_infill_flow_compensator && m_config.small_area_infill_flow_compensation .value ) {
5682
5679
auto oldE = dE;
5683
5680
dE = m_small_area_infill_flow_compensator->modify_flow (arc_length, dE, path.role ());
5684
5681
@@ -5816,8 +5813,7 @@ std::string GCode::_extrude(const ExtrusionPath &path, std::string description,
5816
5813
last_set_speed = F;
5817
5814
}
5818
5815
auto dE = e_per_mm * line_length;
5819
- if (!this ->on_first_layer () && m_small_area_infill_flow_compensator
5820
- && m_config.small_area_infill_flow_compensation .value ) {
5816
+ if (m_small_area_infill_flow_compensator && m_config.small_area_infill_flow_compensation .value ) {
5821
5817
auto oldE = dE;
5822
5818
dE = m_small_area_infill_flow_compensator->modify_flow (line_length, dE, path.role ());
5823
5819
0 commit comments