From 57ce6d1470907b283742f45d369b4fe6edcee361 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 22 Jul 2013 14:50:38 +0000 Subject: old todo, rotate around individual origins now supports connected face/edge islands. previously this gave very odd/annoying results, see bug reports [#36134], [#35419] --- source/blender/editors/transform/transform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source/blender/editors/transform/transform.c') diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index a565213f031..b15470c98c9 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -111,9 +111,7 @@ static bool transdata_check_local_center(TransInfo *t) { return ((t->around == V3D_LOCAL) && ( (t->flag & (T_OBJECT | T_POSE)) || - (t->obedit && t->obedit->type == OB_MESH && (t->settings->selectmode & (SCE_SELECT_EDGE | SCE_SELECT_FACE))) || - (t->obedit && t->obedit->type == OB_MBALL) || - (t->obedit && t->obedit->type == OB_ARMATURE) || + (t->obedit && ELEM3(t->obedit->type, OB_MESH, OB_MBALL, OB_ARMATURE)) || (t->spacetype == SPACE_IPO)) ); } -- cgit v1.2.3