Blender Git Loki

Git Commits -> Revision 4efdabf

Revision 4efdabf by Martin Poirier (master)
October 21, 2003, 13:22 (GMT)
Constraint stuff from tuhopuu including (but probably not limited too):

Axis options for TrackTo
LockTrack
FollowPath

Auto creation of TrackTo constraint from Ctrl-T (old track still an option)

Auto creation of FollowPath when parenting to path (Normal parent still an option)

Backward compatibility stuff to convert the per object axis settings to per constraint when a Track constraint is present.

Function to convert old track to constraint (commented out)

Revamped the constraints interface with Matt's work from tuhopuu and the stuff we were discussing earlier.

--------------------
For coders:

unique_constraint_name and *new_constraint_data moved to the kernel (constraint.c)

new Projf function in arithb gives the projection of a vector on another vector

add_new_constraint now takes a constraint type (int) parameter

add_constraint_to_object(bConstraint *con, Object *ob) to link a constraint to an object

add_constraint_to_client(bConstraint *con) to link constraint to current client (object or bone)

add_influence_key_to_constraint (bConstraint *con) to (eventually) add a keyframe to the influence IPO of a constraint

Commit Details:

Full Hash: 4efdabfbbc3f4f79328241e8b59002d869ae247a
SVN Revision: 1381
Parent Commit: 2da9cb5
Lines Changed: +1268, -298

12 Modified Paths:

/source/blender/blenkernel/BKE_constraint.h (+2, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+557, -1) (Diff)
/source/blender/blenlib/BLI_arithb.h (+5, -0) (Diff)
/source/blender/blenlib/intern/arithb.c (+11, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+102, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+6, -0) (Diff)
/source/blender/include/BIF_editconstraint.h (+4, -3) (Diff)
/source/blender/include/butspace.h (+9, -2) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+31, -2) (Diff)
/source/blender/src/buttons_object.c (+359, -159) (Diff)
/source/blender/src/editconstraint.c (+101, -109) (Diff)
/source/blender/src/editobject.c (+81, -19) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021