mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 07:09:00 +08:00
Bugfix: bridge anchors were shortened under rare circumstances
This commit is contained in:
parent
3e739b87da
commit
440af2c81c
@ -942,7 +942,12 @@ sub discover_horizontal_shells {
|
||||
# make sure our grown surfaces don't exceed the fill area
|
||||
my @grown = @{intersection(
|
||||
offset($too_narrow, +$margin),
|
||||
[ map $_->p, @neighbor_fill_surfaces ],
|
||||
# Discard bridges as they are grown for anchoring and we can't
|
||||
# remove such anchors. (This may happen when a bridge is being
|
||||
# anchored onto a wall where little space remains after the bridge
|
||||
# is grown, and that little space is an internal solid shell so
|
||||
# it triggers this too_narrow logic.)
|
||||
[ map $_->p, grep { $_->is_internal && !$_->is_bridge } @neighbor_fill_surfaces ],
|
||||
)};
|
||||
$new_internal_solid = $solid = [ @grown, @$new_internal_solid ];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user