From 0e1891648ecb14aa9c01322531a3e2195db302a5 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 8 Apr 2013 08:43:16 +0000 Subject: [PATCH] fix for own mistake in recent adjustments to transform, local without individual-origin wasn't working. --- source/blender/editors/transform/transform_constraints.c | 4 ++-- 1 file 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);