Blender Git Loki

Git Commits -> Revision 727a056

Revision 727a056 by Ton Roosendaal (master)
March 25, 2005, 11:17 (GMT)
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

Commit Details:

Full Hash: 727a056de4e83ee0013c9007ec8d6b9de8863c4c
SVN Revision: 4045
Parent Commit: cf30d94
Lines Changed: +96, -44

5 Modified Paths:

/source/blender/src/drawobject.c (+18, -16) (Diff)
/source/blender/src/transform.c (+53, -15) (Diff)
/source/blender/src/transform.h (+3, -0) (Diff)
/source/blender/src/transform_constraints.c (+14, -8) (Diff)
/source/blender/src/transform_generics.c (+8, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021