* Curve tilt interpolation types
authorMatt Ebb <matt@mke3.net>
Tue, 21 Aug 2007 01:57:15 +0000 (01:57 +0000)
committerMatt Ebb <matt@mke3.net>
Tue, 21 Aug 2007 01:57:15 +0000 (01:57 +0000)
commit63a801c21d054381d4eccd186dfea0d96533cfb3
treeb30df51e4d46bfa3b9f20a885bfc499d38d8541b
parent798001556aed3dfec4b76c9525543560c7fbbbe0
* Curve tilt interpolation types
Just a quickie feature I needed here at work- the previous linear
interpolation of tilt in curves can give nasty pinching problems
when trying to do flowing curves like a ribbon. This commit lets
you choose the interpolation type, between Linear, Cardinal, and
BSpline. The code was already set up for it pretty easily, mainly
needed to make the choice visible to the user.

Example:
http://mke3.net/blender/devel/etc/tilt_interp_types.png

Works on selected curve 'lines', menu in 'curve tools' panel in
edit mode.
source/blender/blenkernel/intern/curve.c
source/blender/include/butspace.h
source/blender/makesdna/DNA_curve_types.h
source/blender/src/buttons_editing.c