Fix #149458: Geometry Nodes: Curve to Tube has misaligned caps with nurbs curves type

See https://projects.blender.org/blender/blender-assets/pulls/45

This fixes Geometry Nodes: Curve to Tube has misaligned caps with NURBS
curves type (https://projects.blender.org/blender/blender/issues/149458).

This works around an issue with curve tangent evaluation on control points
(https://projects.blender.org/blender/blender/issues/149328).

`Instance on Points` was simply using the `Curve Tangent` field, which
does not get the corresponding tangents of the evaluated curve. So now
the curve is sampled explicitly instead, which does proper interpolation.

Pull Request: https://projects.blender.org/blender/blender/pulls/149464
This commit is contained in:
Simon Thommes 2025-11-06 15:35:38 +01:00 • committed by Hans Goudey
parent 01059b9ac0
commit 91688d049d

View file

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:08f89dff97afab9cf7b0b5079746a42232021857c1b874a53afe9ba23b4e90db
size 671657
oid sha256:f71f749369e957ef74712306573f78f6e10988f83905e0eeaefad89793938c8b
size 672910