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 /release/scripts/startup/bl_ui/space_view3d.py | |
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 'release/scripts/startup/bl_ui/space_view3d.py')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index d44f0943c30..3a8419ffe3e 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -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, |