mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-16 09:15:55 +08:00
fix anchor_length > anchor_length_max error
This commit is contained in:
parent
daa2c66546
commit
98702a0060
@ -219,6 +219,7 @@ std::vector<SurfaceFill> group_fills(const Layer &layer)
|
||||
params.anchor_length_max = float(region_config.infill_anchor_max);
|
||||
if (region_config.infill_anchor_max.percent)
|
||||
params.anchor_length_max = float(params.anchor_length_max * 0.01 * params.spacing);
|
||||
params.anchor_length = std::min(params.anchor_length, params.anchor_length_max);
|
||||
}
|
||||
|
||||
auto it_params = set_surface_params.find(params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user