Commit: 95cc31fdcddcd4dd8a0aac74749670e4ac2e4ab8
Author: Campbell Barton
Date: Sun Oct 25 05:50:40 2015 +1100
Branches: blender-v2.76-release
https://developer.blender.org/rB95cc31fdcddcd4dd8a0aac74749670e4ac2e4ab8
Fix error in bone UI
===================================================================
M release/scripts/startup/bl_ui/properties_data_bone.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_bone.py
b/release/scripts/startup/bl_ui/properties_data_bone.py
index a14e345..33398b3 100644
--- a/release/scripts/startup/bl_ui/properties_data_bone.py
+++ b/release/scripts/startup/bl_ui/properties_data_bone.py
@@ -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:
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs