[Bf-blender-cvs] CVS commit: blender/source/blender/makesdna DNA_constraint_types.h blender/source/blender/src editobject.c

Martin Poirier theeth at yahoo.com
Thu Jan 1 20:21:07 CET 2004


theeth (Martin Poirier) 2004/01/01 20:21:06 CET

  Modified files:
    blender/source/blender/makesdna DNA_constraint_types.h 
    blender/source/blender/src editobject.c 
  
  Log:
  Fix a problem that has been bugging me for a while. Tracking axis by default are different for Lamp and Camera than for the rest. For the constraint, it wasn't using the correct ones for them, so obviously, it didn't track correctly by default.
  
  Fixed by checking the object type and changing the up and track axis accordingly.
  
  Also added some comments in the DNA file (recompiling makedna because of comments is fun!)
  
  Revision  Changes    Path
  1.7       +3 -3      blender/source/blender/makesdna/DNA_constraint_types.h
  1.52      +7 -1      blender/source/blender/src/editobject.c



More information about the Bf-blender-cvs mailing list