Fix error in bone UI

This commit is contained in:
Campbell Barton 2015-10-25 05:50:40 +11:00
parent c5945ebb2c
commit 11c00caddc
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ class BONE_PT_display(BoneButtonsPanel, Panel):
col = split.column()
col.prop(bone, "hide", text="Hide")
sub = col.column()
sub.active = bool(pchan.custom_shape)
sub.active = bool(pchan and pchan.custom_shape)
sub.prop(bone, "show_wire", text="Wireframe")
if pchan: