mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-08-14 05:35:52 +08:00
bugfix margin (solid anchor) when infill = 0
This commit is contained in:
parent
93ef2679d9
commit
67c1793f66
@ -100,7 +100,7 @@ void LayerRegion::process_external_surfaces(const Layer* lower_layer)
|
||||
if (!has_infill) {
|
||||
coord_t max_margin = 0;
|
||||
if ((this->region()->config().perimeters > 0)) {
|
||||
max_margin = this->flow(frExternalPerimeter).width + this->flow(frPerimeter).width * (this->region()->config().perimeters.value - 1);
|
||||
max_margin = scale_(this->flow(frExternalPerimeter).width) + this->flow(frPerimeter).scaled_spacing() * (this->region()->config().perimeters.value - 1);
|
||||
}
|
||||
margin = std::min(margin, max_margin);
|
||||
margin_bridged = std::min(margin_bridged, max_margin);
|
||||
|
Loading…
x
Reference in New Issue
Block a user