Parent bone name disappeared in the UI in pose mode
Open, ConfirmedPublic

Description

System Information
Operating system and graphics card win 7 gtx 550ti geforce

Blender Version
Broken: (example: 2.69.7 4b206af, see splash screen) Blender 2.79.1 64c1a48 it seems like it had been there more than a month
Worked: (optional) Blender 2.79.1 b4b1397

Short description of error
Parent bone name disappeared in the UI in pose mode

Exact steps for others to reproduce the error
Based on a (as simple as possible) attached .blend file with minimum amount of steps

  • Make sure that bone have a parent
  • Go to pose mode
  • In the bone tab, relations panel you can only see the word "Parent" and bone icon but the given name is not displayed.

Details

Type
Bug
Vuk Gardašević (lijenstina) triaged this task as "Confirmed" priority.Mon, Oct 2, 6:18 PM

I can confirm the issue on Win 7 with build 5c6e3ff from 28. September.

Seems that the line in the properties_data_bone.py script in class BONE_PT_relations

col.prop(bone, "parent", text="")

doesn't display anything apart from the icon.

That seems to work in 2.79 release.

A workaround would be:

if context.bone:
    # col.prop(bone, "parent", text="")
    bone_name = bone.parent.name if bone.parent else "No Parent Bone Found"
    box = col.box()
    box.scale_y = 0.5
    box.label(text=bone_name, icon='BONE_DATA')
else:

    col.prop_search(bone, "parent", arm, "edit_bones", text="")

however it's better to see what the issue really is as it can affect other areas.