Page MenuHome

Fix (unreported): Curve to Mesh: Don't create caps, when the rail curve is cyclic
ClosedPublic

Authored by Leon Schittek (lone_noel) on Feb 16 2022, 11:37 AM.

Details

Summary

The "Fill Caps" option on the Curve to Mesh node introduced in
rBbc2f4dd8b408ee makes it possible to fill the open ends of the sweep
to create a manifold mesh.

This patch fixes an edge case, where caps were created even when the
rail curve (the curve used in the "Curve" input socket) was cyclic
making the resulting mesh non-manifold.


master (since 3.0)patch

Test file shown above:

Diff Detail

Repository
rB Blender
Branch
fix-unreported-cyclic-rail-curve-caps (branched from master)
Build Status
Buildable 20586
Build 20586: arc lint + arc unit

Event Timeline

Leon Schittek (lone_noel) requested review of this revision.Feb 16 2022, 11:37 AM
Leon Schittek (lone_noel) created this revision.
Leon Schittek (lone_noel) retitled this revision from Fix (unreported): Curve to Mesh node: don't create caps, when the rail curve is cyclic to Fix (unreported): Curve to Mesh: Don't create caps, when the rail curve is cyclic.Feb 16 2022, 9:12 PM
Leon Schittek (lone_noel) edited the summary of this revision. (Show Details)

Wow, I'm surprised the bug lasted this long. Thanks for the patch.

This revision is now accepted and ready to land.Feb 16 2022, 9:19 PM