Fix fuzzy skin artifacting regression (#14376) (#14382)

Fix fuzzy skin artifacting (#14376)
This commit is contained in:
SoftFever
2026-06-25 10:52:19 +08:00
committed by GitHub
parent 4e03983426
commit da074043f2
2 changed files with 65 additions and 1 deletions

View File

@@ -32,7 +32,13 @@ WideningBeadingStrategy::Beading WideningBeadingStrategy::compute(coord_t thickn
// Previously used optimal_width which could differ from the outer wall width used in
// bead count calculations, causing inconsistency where bead_count=2 was requested but
// only 1 bead was produced.
if (thickness < getTransitionThickness(1)) {
//
// Orca #14376: only collapse to a single bead when at most one bead is requested. This
// branch emits one bead at the full wall thickness, so honoring it when bead_count >= 2
// (which happens inside 1<->2 transition bands) produces an over-wide extrusion that shows
// up as a surface bulge. Deferring to the parent keeps the requested two beads and also
// keeps compute() consistent with the bead count the skeletal graph asked for.
if (bead_count <= 1 && thickness < getTransitionThickness(1)) {
Beading ret;
ret.total_thickness = thickness;
if (thickness >= min_input_width) {