Fix error in bone UI
This commit is contained in:
parent
c5945ebb2c
commit
11c00caddc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue