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:
Diffstat (limited to 'release/ui/buttons_data_bone.py')
-rw-r--r--release/ui/buttons_data_bone.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/release/ui/buttons_data_bone.py b/release/ui/buttons_data_bone.py
index 8098648886b..276ca066af5 100644
--- a/release/ui/buttons_data_bone.py
+++ b/release/ui/buttons_data_bone.py
@@ -80,6 +80,7 @@ class BONE_PT_bone(BoneButtonsPanel):
if not bone:
bone = context.edit_bone
+ pchan = None
else:
pchan = ob.pose.pose_channels[context.bone.name]