diff --git a/xs/src/libslic3r/LayerRegionFill.cpp b/xs/src/libslic3r/LayerRegionFill.cpp index 8690434d4..3eb5e4a8d 100644 --- a/xs/src/libslic3r/LayerRegionFill.cpp +++ b/xs/src/libslic3r/LayerRegionFill.cpp @@ -217,7 +217,7 @@ LayerRegion::make_fill() // layer height Flow internal_flow = this->region()->flow( frInfill, - this->layer()->object()->config.layer_height.value, // TODO: handle infill_every_layers? + h, // use the calculated surface thickness here for internal infill instead of the layer height to account for infill_every_layers false, // no bridge false, // no first layer -1, // auto width