diff options
author | Martin Poirier <theeth@yahoo.com> | 2005-07-24 10:25:00 +0400 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2005-07-24 10:25:00 +0400 |
commit | 0e2302bfa563bed5e98e86a71c00b3d2861df0c3 (patch) | |
tree | df1b69e33506ce8f780d07f4b67ce3876ef87a0d /source/blender/src/transform_generics.c | |
parent | 1516381df1548cad58f505b35e13f6455bf6d1b6 (diff) |
Big Transform Manipulator Merge
*NOTE*: Some UI decision done in this commit will most likely be revised, all flame shall go in /dev/null. Constructive discussions of course welcomed.
This commit merges manipulator orientation selection back in "traditional" transform.
That's how it works:
- The dropdown in the 3D view header is always visible
- The orientation chosen will be used when choosing an axis with MMB and for the *second* key press of X,Y,Z
However, Local orientation doesn't use the one calculated by the manipulator. This is to ensure that multiple object local and armatures in pose still works as before.
- Alt-Space (to change the orientation) works during transform
New Transform orientation: View, using the view axis.
Fixes for the following bugs:
- Constraint projection code "jammed" if input vector was <0,0,0>, reported a couple of times on IRC. Thanks to Basse for the example file.
- Transform on texspace crashed on objects without texspace data (camera, lamp, ...). This was reported in tracker.
- Numinput with lock constraints didn't work correctly. Reported on elysiun
Probably some others that I'm forgetting
I also moved a couple of functions around in an attempt to make things clearer.
Diffstat (limited to 'source/blender/src/transform_generics.c')
-rwxr-xr-x | source/blender/src/transform_generics.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/src/transform_generics.c b/source/blender/src/transform_generics.c index 4875228a209..9a6839a8c32 100755 --- a/source/blender/src/transform_generics.c +++ b/source/blender/src/transform_generics.c @@ -322,14 +322,6 @@ void postTrans (TransInfo *t) G.moving = 0; // Set moving flag off (display as usual) stopConstraint(t); - /* Not needed anymore but will keep there in case it will be - t->con.drawExtra = NULL; - t->con.applyVec = NULL; - t->con.applySize= NULL; - t->con.applyRot = NULL; - t->con.mode = 0; - */ - /* postTrans can be called when nothing is selected, so data is NULL already */ if (t->data) { |