mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-12 17:49:00 +08:00
Infill flow for bottom layer was calculated incorrectly when first_layer_height != layer_height
This commit is contained in:
parent
de0640603a
commit
183736dd9a
@ -170,7 +170,7 @@ sub make_fill {
|
|||||||
: $is_solid
|
: $is_solid
|
||||||
? ($surface->surface_type == S_TYPE_TOP ? EXTR_ROLE_TOPSOLIDFILL : EXTR_ROLE_SOLIDFILL)
|
? ($surface->surface_type == S_TYPE_TOP ? EXTR_ROLE_TOPSOLIDFILL : EXTR_ROLE_SOLIDFILL)
|
||||||
: EXTR_ROLE_FILL),
|
: EXTR_ROLE_FILL),
|
||||||
height => $surface->depth_layers * $Slic3r::Config->layer_height,
|
height => $surface->depth_layers * $layer->height,
|
||||||
flow_spacing => $params->{flow_spacing} || (warn "Warning: no flow_spacing was returned by the infill engine, please report this to the developer\n"),
|
flow_spacing => $params->{flow_spacing} || (warn "Warning: no flow_spacing was returned by the infill engine, please report this to the developer\n"),
|
||||||
), @paths,
|
), @paths,
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user