diff options
author | Martin Poirier <theeth@yahoo.com> | 2009-12-29 23:44:51 +0300 |
---|---|---|
committer | Martin Poirier <theeth@yahoo.com> | 2009-12-29 23:44:51 +0300 |
commit | c947fbe43dece2b36c5daf411f51cc081c3aad67 (patch) | |
tree | 0b53a089212cd9eb0e684e23ff35f5567cfa4a72 /source/blender/editors/transform/transform_orientations.c | |
parent | 8f2b2d32cf5821f95dde262aa72b550b999da873 (diff) |
Bugfix for [#20511]
Shift-MMB for user orientation constraint selection didn't work for global orientation (the matrix wasn't initialized properly).
Also, MMB can be used to cancel a constraint again.
Diffstat (limited to 'source/blender/editors/transform/transform_orientations.c')
-rw-r--r-- | source/blender/editors/transform/transform_orientations.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/transform/transform_orientations.c b/source/blender/editors/transform/transform_orientations.c index 98067291e07..c275c9a7a6e 100644 --- a/source/blender/editors/transform/transform_orientations.c +++ b/source/blender/editors/transform/transform_orientations.c @@ -518,6 +518,7 @@ void initTransformOrientation(bContext *C, TransInfo *t) switch(t->current_orientation) { case V3D_MANIP_GLOBAL: + unit_m3(t->spacemtx); strcpy(t->spacename, "global"); break; |