[Bf-blender-cvs] [9f388c16467] blender-v2.81-release: Fix T71037: batch rename bones in pose mode throws exceptions
Philipp Oeser
noreply at git.blender.org
Mon Oct 28 10:35:32 CET 2019
Commit: 9f388c16467d9893412cd8891f2bf2693df3db3d
Author: Philipp Oeser
Date: Wed Oct 23 13:45:05 2019 +0200
Branches: blender-v2.81-release
https://developer.blender.org/rB9f388c16467d9893412cd8891f2bf2693df3db3d
Fix T71037: batch rename bones in pose mode throws exceptions
Maniphest Tasks: T71037
Differential Revision: https://developer.blender.org/D6122
===================================================================
M release/scripts/startup/bl_operators/wm.py
===================================================================
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)",
)
More information about the Bf-blender-cvs
mailing list