[Bf-blender-cvs] CVS commit: blender/source/blender/src transform.c transform.h transform_constraints.c transform_constraints.h

Martin Poirier theeth at yahoo.com
Tue Mar 1 20:22:29 CET 2005


theeth (Martin Poirier) 2005/03/01 20:22:29 CET

  Modified files:
    blender/source/blender/src transform.c transform.h 
                               transform_constraints.c 
                               transform_constraints.h 
  
  Log:
  Fixed a bug in the constraint projection code. It only worked correctly when locking the Z axis because of a malformed if clause.
  
  Renamed the constraints defines to CON_*
  
  Renamed the fonctions used to interactively select a constraint (with MMB). The previous naming scheme was obscure at best.
  
  Added a CON_SELECT flag when selecting interactively. (Following the idea of the patch joeedh submitted).
  New behavior when selecting a constraint interactively, not only does it highlight the axis that will be selected, it also makes it the current constraint.
  
  Holding down Ctrl when selecting a constraint with MMB now does the same as hitting Ctrl-AXIS. That is, it locks that axis (planar constraint on the normal plane).
  
  - - - - -
  
  To all those who posted suggestions, I'm not forgetting them:
  - broken / desoto with the plane draw thingy,
  - RobertT's push/pull transformation (that was from before the new code even)
  - UnNamed's MMB interactive idea as we discussed on IRC
  and all the others that I've noted down somewhere.
  
  Next for today, I'll have a look at local constraint (object's axis).
  
  Revision  Changes    Path
  1.15      +10 -9     blender/source/blender/src/transform.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform.c.diff?r1=1.14&r2=1.15&cvsroot=bf-blender>
  1.9       +6 -5      blender/source/blender/src/transform.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform.h.diff?r1=1.8&r2=1.9&cvsroot=bf-blender>
  1.7       +94 -79    blender/source/blender/src/transform_constraints.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_constraints.c.diff?r1=1.6&r2=1.7&cvsroot=bf-blender>
  1.2       +4 -4      blender/source/blender/src/transform_constraints.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_constraints.h.diff?r1=1.1&r2=1.2&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list