[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern constraint.c object.c blender/source/blender/include BIF_editconstraint.h blender/source/blender/src editconstraint.c

Martin Poirier theeth at yahoo.com
Thu Oct 23 01:17:48 CEST 2003


theeth (Martin Poirier) 2003/10/23 01:17:48 CEST

  Modified files:
    blender/source/blender/blenkernel/intern constraint.c object.c 
    blender/source/blender/include BIF_editconstraint.h 
    blender/source/blender/src editconstraint.c 
  
  Log:
  Small constraint loop detection and calculation fix that now allows two objects to track each other (normal track or LockTrack).
  This is done by disabling the object position refresh call when calculating these constraints. From the tests I did, this doesn't cause any problem at all.
  
  The main point of this is to create pistons and the like.
  
  For coders:
  
  the detect_constraint_loop function now takes an additional parameter that determines the constraint type of the object it's looping from.
  
  Revision  Changes    Path
  1.6       +10 -2     blender/source/blender/blenkernel/intern/constraint.c
  1.6       +2 -1      blender/source/blender/blenkernel/intern/object.c
  1.6       +2 -2      blender/source/blender/include/BIF_editconstraint.h
  1.8       +39 -23    blender/source/blender/src/editconstraint.c



More information about the Bf-blender-cvs mailing list