Blender Git Loki

Git Commits -> Revision e65b0be

Revision e65b0be by Martin Poirier (master)
March 20, 2005, 02:00 (GMT)
Ton broke a couple of things in his last commit including PET in rotation mode and local axis constraints on objects.
Bringing that back and enabling PET in trackball rotate.

Changed the rotation manipulator drawing code to really align the Trackball rotate ball with the view (using getViewVector) so that it always looks centered on the selection.
This was particularly ugly in perspective mode with a selection far from the center of the screen: http://www.clubinfo.bdeb.qc.ca/~theeth/screenie.jpg

Moved getViewVector from transform_constraints.c to transform_generics.c since it is not really a constraint related function. Also made it independant on the TransInfo structure so it might be useful elsewhere too.

Commit Details:

Full Hash: e65b0beea8b4ace4f8b1e9002886e1e51ade44a8
SVN Revision: 3984
Parent Commit: 0d21797
Lines Changed: +180, -124

5 Modified Paths:

/source/blender/src/transform.c (+138, -92) (Diff)
/source/blender/src/transform_constraints.c (+4, -26) (Diff)
/source/blender/src/transform_generics.c (+26, -0) (Diff)
/source/blender/src/transform_generics.h (+2, -0) (Diff)
/source/blender/src/transform_manipulator.c (+10, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021