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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user