Cleanup: rename bone-select to xray

This shows bones in font and uses the xray toggle binding.
Also 'bone select' isn't very meaningful on it's own.
This commit is contained in:
Campbell Barton
2018-11-23 13:46:40 +11:00
parent 3fdcd2293e
commit d56c0a0a6a
11 changed files with 21 additions and 21 deletions

View File

@@ -4832,13 +4832,13 @@ class VIEW3D_PT_overlay_pose(Panel):
if mode == 'POSE':
row = col.row()
row.prop(overlay, "show_bone_select", text="")
row.prop(overlay, "show_xray_bone", text="")
sub = row.row()
sub.active = display_all and overlay.show_bone_select
sub.prop(overlay, "bone_select_alpha", text="Fade Geometry")
sub.active = display_all and overlay.show_xray_bone
sub.prop(overlay, "xray_alpha_bone", text="Fade Geometry")
else:
row = col.row()
row.prop(overlay, "show_bone_select")
row.prop(overlay, "show_xray_bone")
class VIEW3D_PT_overlay_edit_armature(Panel):