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.
This commit is contained in:
Clément Foucault
2019-02-27 17:35:43 +01:00
parent fe5d26807b
commit 28ccc0fa2f
5 changed files with 3 additions and 45 deletions

View File

@@ -5192,7 +5192,6 @@ class VIEW3D_PT_overlay_pose(Panel):
col = layout.column()
col.active = display_all
col.prop(overlay, "show_transparent_bones")
if mode == 'POSE':
row = col.row()
@@ -5205,27 +5204,6 @@ class VIEW3D_PT_overlay_pose(Panel):
row.prop(overlay, "show_xray_bone")
class VIEW3D_PT_overlay_edit_armature(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'HEADER'
bl_parent_id = 'VIEW3D_PT_overlay'
bl_label = "Armature Edit Mode"
@classmethod
def poll(cls, context):
return context.mode == 'EDIT_ARMATURE'
def draw(self, context):
layout = self.layout
view = context.space_data
overlay = view.overlay
display_all = overlay.show_overlays
col = layout.column()
col.active = display_all
col.prop(overlay, "show_transparent_bones")
class VIEW3D_PT_overlay_paint(Panel):
bl_space_type = 'VIEW_3D'
bl_region_type = 'HEADER'
@@ -5916,7 +5894,6 @@ classes = (
VIEW3D_PT_overlay_edit_mesh_freestyle,
VIEW3D_PT_overlay_edit_mesh_developer,
VIEW3D_PT_overlay_edit_curve,
VIEW3D_PT_overlay_edit_armature,
VIEW3D_PT_overlay_paint,
VIEW3D_PT_overlay_pose,
VIEW3D_PT_overlay_sculpt,