Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2015-10-24 21:50:40 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-10-29 13:10:15 +0300
commit95cc31fdcddcd4dd8a0aac74749670e4ac2e4ab8 (patch)
tree554be2a9922b15bd2e5c67a0bc2a17306cafc6bc
parent50ecd510bba9015f007fa8a0ed8df0a621012d7c (diff)
Fix error in bone UI
-rw-r--r--release/scripts/startup/bl_ui/properties_data_bone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_bone.py b/release/scripts/startup/bl_ui/properties_data_bone.py
index a14e34580c5..33398b3150a 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: