From 30ac7799c8b37c6499c178281152ab4d6aacfcac Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 14 Nov 2010 07:49:07 +0000 Subject: bugfix [#24702] 3Dmanipulator does not display if view's layers are not synchronize to scene's layers. --- source/blender/editors/transform/transform_manipulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/transform/transform_manipulator.c') diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 7ed569dab93..b03c5ef5395 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -477,7 +477,7 @@ int calc_manipulator_stats(const bContext *C) if(ob && !(ob->flag & SELECT)) ob= NULL; for(base= scene->base.first; base; base= base->next) { - if TESTBASELIB(scene, base) { + if TESTBASELIB(v3d, base) { if(ob==NULL) ob= base->object; calc_tw_center(scene, base->object->obmat[3]); -- cgit v1.2.3