Blender Git Loki

Git Commits -> Revision 58b3022

Revision 58b3022 by Martin Poirier (master)
March 1, 2005, 19:22 (GMT)
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).

Commit Details:

Full Hash: 58b3022b524c6a1c5f2be76baed7bad691941e82
SVN Revision: 3886
Parent Commit: dbce997
Lines Changed: +110, -93

4 Modified Paths:

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