Fix attached Morph seams at fractional scales

This commit is contained in:
Samuel Onoja committed 2026-10-12 12:55:16 +01:00
1 parent e22f0ebef9
commit b31618b749
2 files changed
+152 -5

No files matched your search

+5 -1
View File
@@ -384,8 +384,12 @@ pub fn derive(
operation,
blend_zone: 0,
});
scene.damage.push(patch);
}
// One material capture owns the body and both shoulders. Separate
// captures overlap after logical rounding at fractional scales,
// painting translucent joins twice as the spring settles.
scene.damage =
vec![grid.rect(Rect::new(bounds.x - r, bounds.y, bounds.width + 2. * r, bounds.height))?];
}
}
}