Page MenuHome

Fix T94837: curve tilt on a 2-point-curve is wrong
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Jan 12 2022, 12:16 PM.

Details

Summary

2-point-curves (e.g. poly, or bezier with U resolution of 1) are treated separately from 3plus-point-curves (assume a
lot of the twisting reduction can be skipped, so there is a dedicated
function for single segment curves).

And while using the 3plus-point-curves function [make_bevel_list_3D]
would actually work in this case, the dedicated function
make_bevel_list_segment_3D would only consider the tilt of the second
point and would just copy over the quat to the first point as well. Dont
see a reason for this, now consider the first point's tilt as well.

Diff Detail

Repository
rB Blender