Use the surface thickness if it is available for internal infill, instead of passing the layer height for the flow.

Fixes #4345
This commit is contained in:
Joseph Lenox 2018-04-01 21:03:40 -05:00
parent db17a63436
commit 4db029c753

View File

@ -217,7 +217,7 @@ LayerRegion::make_fill()
// layer height // layer height
Flow internal_flow = this->region()->flow( Flow internal_flow = this->region()->flow(
frInfill, 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 bridge
false, // no first layer false, // no first layer
-1, // auto width -1, // auto width