Page MenuHome

IPO Editor -> Axis Locking for Transform
Closed, ArchivedPublicPATCH

Description

This patch allows axis locking to occur during 'grab' transforms in ipo editor. This brings the ipo editor's grab behaviour in line with other parts of blender, where you can constrain movement of transforms to an axis, by pressing the key with the letter of the axis you want to constrain to.

For example:
- G
This key sequence allows transform of selected points/curves in both x+y axes relative to mouse movement
- G X
This key sequence allows transform of selected points/curves in only x axis relative to mouse movement
- G Y
This key sequence allows transform of selected points/curves in only y axis relative to mouse movement
- G X X
This key sequence allows transform of selected points/curves in both x+y axes relative to mouse movement, as second x cancels constraint. Same for YKEY twice
- G X Y
This key sequence allows transform of selected points/curves in only y axis as only one axis may be locked at a time.


Note on the line-numbers in this patch:
The line numbers in this patch don't line up with those in a clean-cvs copy, as this patch was made off the same tree that my IPO Mirroring patch was made from. However, only the code needed for this patch is present.



Aligorith

Event Timeline

Martin Poirier (theeth) changed the task status from Unknown Status to Unknown Status.Oct 1 2006, 9:22 PM