diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-08 12:43:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-08 12:43:16 +0400 |
commit | 0e1891648ecb14aa9c01322531a3e2195db302a5 (patch) | |
tree | ee6e779facb4d35230bb20c436f189994598c927 /source/blender/editors/transform/transform_constraints.c | |
parent | babdd90e2e8f0b790833a56d1641e0d0fbd523d0 (diff) |
fix for own mistake in recent adjustments to transform, local without individual-origin wasn't working.
Diffstat (limited to 'source/blender/editors/transform/transform_constraints.c')
-rw-r--r-- | source/blender/editors/transform/transform_constraints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/transform/transform_constraints.c b/source/blender/editors/transform/transform_constraints.c index 2752d76fbf0..5515ca69bba 100644 --- a/source/blender/editors/transform/transform_constraints.c +++ b/source/blender/editors/transform/transform_constraints.c @@ -558,8 +558,8 @@ void setConstraint(TransInfo *t, float space[3][3], int mode, const char text[]) void setLocalConstraint(TransInfo *t, int mode, const char text[]) { /* edit-mode now allows local transforms too */ -#if 0 - if (t->flag & T_EDIT) { +#if 1 + if ((t->flag & T_EDIT) && (t->around != V3D_LOCAL)) { float obmat[3][3]; copy_m3_m4(obmat, t->scene->obedit->obmat); normalize_m3(obmat); |