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:
authorPhilipp Oeser <info@graphics-engineer.com>2019-10-23 14:45:05 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2019-10-28 12:27:06 +0300
commit9f388c16467d9893412cd8891f2bf2693df3db3d (patch)
tree2de61fa683a7989ad7877b6834d8d942c80faa10 /release
parent9b6aa740be31b395fc62b4e6e491cba8c8f977e3 (diff)
Fix T71037: batch rename bones in pose mode throws exceptions
Maniphest Tasks: T71037 Differential Revision: https://developer.blender.org/D6122
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_operators/wm.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py
index 726afda571d..e7989bec227 100644
--- a/release/scripts/startup/bl_operators/wm.py
+++ b/release/scripts/startup/bl_operators/wm.py
@@ -1923,7 +1923,7 @@ class WM_OT_batch_rename(Operator):
data = (
[pchan.bone for pchan in context.selected_pose_bones]
if only_selected else
- [pchan.bone for ob in context.objects_in_mode_unique_data for pbone in ob.pose.bones],
+ [pbone.bone for ob in context.objects_in_mode_unique_data for pbone in ob.pose.bones],
"name",
"Bone(s)",
)