diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-06 08:16:34 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-06 08:17:38 +0300 |
commit | 957b408458140d1cfc72395d62189918bac5b5c7 (patch) | |
tree | 35291d5992bc2ad7aeb03b63e82ac25507cf5a03 /source/blender/editors/transform/transform_manipulator.c | |
parent | 0899b4bb3f9574a593a54f4a511fba6662844c16 (diff) |
Fix manipulator showing in pose & editmode
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r-- | source/blender/editors/transform/transform_manipulator.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c index 4841b136f1d..13b97b2e1c0 100644 --- a/source/blender/editors/transform/transform_manipulator.c +++ b/source/blender/editors/transform/transform_manipulator.c @@ -337,8 +337,6 @@ static int calc_manipulator_stats(const bContext *C) } else if (obedit) { ob = obedit; - if ((ob->lay & v3d->lay) == 0) return 0; - if (obedit->type == OB_MESH) { BMEditMesh *em = BKE_editmesh_from_object(obedit); BMEditSelection ese; @@ -521,8 +519,6 @@ static int calc_manipulator_stats(const bContext *C) int mode = TFM_ROTATION; // mislead counting bones... bah. We don't know the manipulator mode, could be mixed bool ok = false; - if ((ob->lay & v3d->lay) == 0) return 0; - if ((v3d->around == V3D_AROUND_ACTIVE) && (pchan = BKE_pose_channel_active(ob))) { /* doesn't check selection or visibility intentionally */ Bone *bone = pchan->bone; |