Blender Git Loki
Git Commits -> Revision ed67092
Revision ed67092 by Martin Poirier (master) December 17, 2003, 04:27 (GMT) |
Nathanael Law's fix to make numerical input more compatible with axis constraints. I thought this was a nice addition, so I'm commiting it. To Ton for easier changelog creation: When constraining to an axis, numerical input is limited (and will switch automaticly) to that axis. Original e-mail ------------------------------- I was playing with the axis constraints for grab and scale transforms and I thought that the behavior was slightly illogical. Without axis constraints, I think everything is great, but once a constraint is used some irregularities show up. (Note, this is not a bug, it's more of a possible improvement) When you enter grab or scale mode, then constrain the transformation to a particular axis, then enter numeric entry mode by hitting a number or 'n', there is no reason for you to try and edit the numeric value of a non-constrained axis which is the current behavior. E.g. You grab an object and want to move it along the z-axis, so you enter grab mode and either hit 'z' or the middle mouse button and you move the mouse to get an idea of how it looks. You decide that you want to use a value of +4.2 with numeric entry; now you have to enter the following sequence: 'g', 'z', 'move mouse', 'tab', 'tab', '4.2', 'enter'. However, you're already constrained to the z-axis, so you should not have to enter 'tab', 'tab'. The included patch changes the behavior of grab and scale transforms so that if you are constrained to an axis, and enter numeric entry mode via 'n' or by hitting a number, you will immediately begin editing the appropriate axis, and will not have to hit 'tab'. This may not seem like a big improvement (because it's not), but I feel that it improves the workflow of a commonly used task slightly and does not negatively impact any other aspects of the program. I welcome feedback on this idea. -- - Nathanael Law <[email protected]> |
Commit Details:
Full Hash: ed6709260152f43478160d235bfd227b6036887b
SVN Revision: 1736
Parent Commit: 8c570d4
Lines Changed: +35, -0
1 Modified Path:
/source/blender/src/editobject.c (+35, -0) (Diff)