diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2019-02-27 19:35:43 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2019-02-27 19:46:17 +0300 |
commit | 28ccc0fa2f148bac7d3ed3ebdbe2b2dfa5ee5efc (patch) | |
tree | c61b83e610e9ae799a36b589e78a3d7d0ee710dc /source/blender/draw/modes/edit_armature_mode.c | |
parent | fe5d26807b44e78800ccca0cc43b265801a37a25 (diff) |
Armature: Remove the Transparent Bone overlay option
The option is replaced by the Wireframe mode display which (in edit & pose
mode) does exactly what transparent bones did.
Diffstat (limited to 'source/blender/draw/modes/edit_armature_mode.c')
-rw-r--r-- | source/blender/draw/modes/edit_armature_mode.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/draw/modes/edit_armature_mode.c b/source/blender/draw/modes/edit_armature_mode.c index 22211730ff6..4eaa9447efe 100644 --- a/source/blender/draw/modes/edit_armature_mode.c +++ b/source/blender/draw/modes/edit_armature_mode.c @@ -70,8 +70,7 @@ static void EDIT_ARMATURE_cache_init(void *vedata) /* Alloc transient pointers */ stl->g_data = MEM_callocN(sizeof(*stl->g_data), __func__); } - stl->g_data->transparent_bones = (draw_ctx->v3d->shading.type == OB_WIRE) || - (draw_ctx->v3d->overlay.arm_flag & V3D_OVERLAY_ARM_TRANSP_BONES) != 0; + stl->g_data->transparent_bones = (draw_ctx->v3d->shading.type == OB_WIRE); for (int i = 0; i < 2; ++i) { /* Solid bones */ |