Blender Git Commit Log
Git Commits -> Revision 74ca178
Revision 74ca178 by Joshua Leung (master) July 21, 2007, 07:26 (GMT) |
== Transformation Constraint == This commit adds a new constraint to Blender: the Transformation Constraint. This constraint gives you more freedom to choose how transforms are copied from one object/bone to another object/bone. You can assign the Loc/Rot/Scale channels of a source to the Loc/Rot/Scale channels of a destination, specifying the range of motion (per axis) from the source to consider, and the range of motion (per axis) that will be applied to the destination. Also, for each destination axis, you can choose which of the source axes to copy from. A similar constraint was coded by Jason Blary (snark), as Patch #4991. This constraint is basically rewritten from scratch, although there are some elements of the original patch which may be borrowed in future. Various notes: * PyAPI access has been coded. * Space conversion is also enabled for this constraint. * Also the useless get_constraint_col function has been removed * Doing a rotation copy with a ratio that is not 1:1 doesn't always work correctly yet (like for the Copy Rotation constraint). |
Commit Details:
Full Hash: 74ca1781990bb0c56cdb0da54ed15414f30cb554
SVN Revision: 11327
Parent Commit: c924fc5
Lines Changed: +614, -105
9 Modified Paths:
/source/blender/blenkernel/intern/constraint.c (+152, -1) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -0) (Diff)
/source/blender/include/butspace.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+32, -15) (Diff)
/source/blender/python/api2_2x/Constraint.c (+212, -1) (Diff)
/source/blender/python/api2_2x/doc/Constraint.py (+15, -1) (Diff)
/source/blender/src/buttons_object.c (+159, -79) (Diff)
/source/blender/src/editconstraint.c (+27, -8) (Diff)
/source/blender/blenloader/intern/readfile.c (+13, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+3, -0) (Diff)
/source/blender/include/butspace.h (+1, -0) (Diff)
/source/blender/makesdna/DNA_constraint_types.h (+32, -15) (Diff)
/source/blender/python/api2_2x/Constraint.c (+212, -1) (Diff)
/source/blender/python/api2_2x/doc/Constraint.py (+15, -1) (Diff)
/source/blender/src/buttons_object.c (+159, -79) (Diff)
/source/blender/src/editconstraint.c (+27, -8) (Diff)