Blender Git Loki

Git Commits -> Revision 193dce6

Revision 193dce6 by Martin Poirier (master)
October 21, 2003, 17:01 (GMT)
Axis constraint in transform for grab mode
Axis constraint in size mode

note: the original behavior when constraining with middle mouse in object mode is weird. I've leave it that way, but I think it would be a good time to fix it. Another thing: in object mode, you can only constrain size to local axis. Global axis would involve either screwing the matrix (which stinks) or modifying the vert coords directly (which is a no no)

Please also note that this breaks the mirroring combo.
I'll be commiting my edit mode mirror function soon to fix that.

Coder note:

You can now call the transform function with an additional parameter to constraint to an axis.
example:

transform('g'*'X')
transform('s'*'y')
transform('r'*'z')

Capital axis letter for global axis, lower case for local axis

Commit Details:

Full Hash: 193dce6d9811e1aca2ef7b1f060dd480fbeeef30
SVN Revision: 1386
Parent Commit: 2486c52
Lines Changed: +71, -20

1 Modified Path:

/source/blender/src/editobject.c (+71, -20) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021