mirror of
https://github.com/blender/blender
synced 2026-11-22 03:45:13 +03:00
`Curve to Tube` could change the tube profile when cap merging was enabled with an empty custom start or end cap. All tube endpoints were included in the final `Merge by Distance`, even when the corresponding custom cap contained no mesh faces. With multi-spline profiles, this could merge vertices from separate profile splines and deform the endpoint rings. Check the custom start and end cap sources independently and only enable welding at the corresponding tube endpoint when that cap contains mesh faces. Existing behavior for flat caps, round caps, and valid custom caps remains unchanged. Add a `.blend` regression test that links the bundled `Curve to Tube` asset and covers a multi-spline profile with empty custom caps. The test fails with the previous asset because the endpoint vertices are incorrectly merged. This also fixes that the start and end cap were previously swapped when using custom caps. --- Addresses #160113. Source asset change: blender/blender-assets#84 Pull Request: https://projects.blender.org/blender/blender/pulls/161707 --------- Co-authored-by: Tibo Stans <192132910+stanzerelli@users.noreply.github.com> Co-authored-by: Simon Thommes <simon@blender.org> |
||
|---|---|---|
| .. | ||
| array.blend | ||
| curve_to_tube_custom_caps.blend | ||
| scatter_on_surface.blend | ||