Fix error in bone UI
This commit is contained in:
@@ -220,7 +220,7 @@ class BONE_PT_display(BoneButtonsPanel, Panel):
|
|||||||
col = split.column()
|
col = split.column()
|
||||||
col.prop(bone, "hide", text="Hide")
|
col.prop(bone, "hide", text="Hide")
|
||||||
sub = col.column()
|
sub = col.column()
|
||||||
sub.active = bool(pchan.custom_shape)
|
sub.active = bool(pchan and pchan.custom_shape)
|
||||||
sub.prop(bone, "show_wire", text="Wireframe")
|
sub.prop(bone, "show_wire", text="Wireframe")
|
||||||
|
|
||||||
if pchan:
|
if pchan:
|
||||||
|
Reference in New Issue
Block a user