[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern constraint.c blender/source/blender/blenloader/intern readfile.c writefile.c blender/source/blender/include butspace.h blender/source/blender/makesdna DNA_constraint_types.h blender/source/blender/src buttons_object.c editconstraint.c

Joshua Leung aligorith at gmail.com
Sat Apr 7 05:32:57 CEST 2007


aligorith (Joshua Leung) 2007/04/07 05:32:57 CEST

  Modified files:
    blender/source/blender/blenkernel/intern constraint.c 
    blender/source/blender/blenloader/intern readfile.c 
                                             writefile.c 
    blender/source/blender/include butspace.h 
    blender/source/blender/makesdna DNA_constraint_types.h 
    blender/source/blender/src buttons_object.c editconstraint.c 
  
  Log:
  == Clamp-To Constraint (was Patch #4818) ==
  
  This (new) constraint limits the location of an object/bone to the range of locations
  on a given curve. It works by comparing the location of the owner on one axis, to
  the extents of the curve's bounding-box on the same axis, to find the location on
  the curve.
  
  Usage Notes:
  * 'Ob:' field must point to a valid curve object
  * This curve should have 'Path' turned on in order for this constraint to work. You
  don't really need to do this as it will be taken care of by the code.
  * 'Auto' toggle automically determines which axis should be used for the distance estimations/calculations. It is the default option, but may not work that well for
  some cases.
  * X/Y/Z toggles can be used to select the axis to use for these calculations. Try
  to choose the axis along which the curve stretches out for most.
  
  Python Notes:
  Python API access for this constraint is not included in this commit. Will be coming
  soon.
  
  Revision  Changes    Path
  1.67      +127 -6    blender/source/blender/blenkernel/intern/constraint.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/constraint.c.diff?r1=1.66&r2=1.67&cvsroot=bf-blender>
  1.376     +14 -1     blender/source/blender/blenloader/intern/readfile.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/readfile.c.diff?r1=1.375&r2=1.376&cvsroot=bf-blender>
  1.101     +4 -1      blender/source/blender/blenloader/intern/writefile.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenloader/intern/writefile.c.diff?r1=1.100&r2=1.101&cvsroot=bf-blender>
  1.106     +2 -1      blender/source/blender/include/butspace.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/include/butspace.h.diff?r1=1.105&r2=1.106&cvsroot=bf-blender>
  1.38      +14 -1     blender/source/blender/makesdna/DNA_constraint_types.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_constraint_types.h.diff?r1=1.37&r2=1.38&cvsroot=bf-blender>
  1.221     +36 -1     blender/source/blender/src/buttons_object.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/buttons_object.c.diff?r1=1.220&r2=1.221&cvsroot=bf-blender>
  1.47      +37 -3     blender/source/blender/src/editconstraint.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/editconstraint.c.diff?r1=1.46&r2=1.47&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list