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

Ton Roosendaal ton at blender.org
Fri Mar 25 12:17:59 CET 2005


ton (Ton Roosendaal) 2005/03/25 12:17:59 CET

  Modified files:
    blender/source/blender/src drawobject.c transform.c 
                               transform.h transform_constraints.c 
                               transform_generics.c 
  
  Log:
  A couple of wee transform featurettes;
  
  - center of rotation for camera in cameraview rotate has to remain the
    camera center itself, drawing the dashed helpline then doesn't work,
    since it's behind the camera clipplane. Just disabled that line.
  
  - made MMB switch for cameraview grab to become quadratic, for a dolly
    this feels OK, and makes it possible to move in small and large scenes.
  
  - restored SHIFT modifier for translation and scaling. This based on old
    convention that allowed precision editing on top of the transform you
    already applied before pressing SHIFT.
    Solved it with a new flag (T_SHIFT_MOD), since the G.qual cannot be
    used. Transform() innerloop has to detect the SHIFT event itself.
    Also coded it with storing the mouseposition while SHIFT event happened.
    Hope Martin can approve! :)
  
  - Martin's last commit made Manipulator Translate not work, it passed on
    a zero translation to the constrainter, causing NaN's. Nicely catched the
    exception.
  
  - Fixed 'Trackball' to accept number input too
  
  Revision  Changes    Path
  1.152     +19 -17    blender/source/blender/src/drawobject.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/drawobject.c.diff?r1=1.151&r2=1.152&cvsroot=bf-blender>
  1.56      +54 -16    blender/source/blender/src/transform.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform.c.diff?r1=1.55&r2=1.56&cvsroot=bf-blender>
  1.24      +4 -1      blender/source/blender/src/transform.h
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform.h.diff?r1=1.23&r2=1.24&cvsroot=bf-blender>
  1.33      +15 -9     blender/source/blender/src/transform_constraints.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_constraints.c.diff?r1=1.32&r2=1.33&cvsroot=bf-blender>
  1.29      +9 -6      blender/source/blender/src/transform_generics.c
    <http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/src/transform_generics.c.diff?r1=1.28&r2=1.29&cvsroot=bf-blender>



More information about the Bf-blender-cvs mailing list