[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel BKE_constraint.h blender/source/blender/blenkernel/intern constraint.c blender/source/blender/blenlib BLI_arithb.h blender/source/blender/blenlib/intern arithb.c blender/source/blender/blenloader/intern readfile.c writefile.c blender/source/blender/include ...
Martin Poirier
theeth at yahoo.com
Tue Oct 21 15:22:08 CEST 2003
theeth (Martin Poirier) 2003/10/21 15:22:07 CEST
Modified files:
blender/source/blender/blenkernel BKE_constraint.h
blender/source/blender/blenkernel/intern constraint.c
blender/source/blender/blenlib BLI_arithb.h
blender/source/blender/blenlib/intern arithb.c
blender/source/blender/blenloader/intern readfile.c
writefile.c
blender/source/blender/include BIF_editconstraint.h butspace.h
blender/source/blender/makesdna DNA_constraint_types.h
blender/source/blender/src buttons_object.c editconstraint.c
editobject.c
Log:
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
Revision Changes Path
1.6 +3 -1 blender/source/blender/blenkernel/BKE_constraint.h
1.5 +558 -2 blender/source/blender/blenkernel/intern/constraint.c
1.7 +6 -1 blender/source/blender/blenlib/BLI_arithb.h
1.6 +12 -1 blender/source/blender/blenlib/intern/arithb.c
1.25 +103 -4 blender/source/blender/blenloader/intern/readfile.c
1.12 +7 -1 blender/source/blender/blenloader/intern/writefile.c
1.5 +5 -4 blender/source/blender/include/BIF_editconstraint.h
1.11 +10 -3 blender/source/blender/include/butspace.h
1.5 +32 -3 blender/source/blender/makesdna/DNA_constraint_types.h
1.9 +362 -162 blender/source/blender/src/buttons_object.c
1.7 +102 -110 blender/source/blender/src/editconstraint.c
1.21 +82 -20 blender/source/blender/src/editobject.c
More information about the Bf-blender-cvs
mailing list