Fix: Select Pattern Operator for pose bones
Due to the change of the selection state in pose mode to the pose bone, this operator was broken. Pull Request: https://projects.blender.org/blender/blender/pulls/148067
This commit is contained in:
committed by
Christoph Lendenfeld
parent
0be7678702
commit
67d5f8ea60
@@ -55,7 +55,7 @@ class SelectPattern(Operator):
|
|||||||
is_pbone = False
|
is_pbone = False
|
||||||
obj = context.object
|
obj = context.object
|
||||||
if obj and obj.mode == 'POSE':
|
if obj and obj.mode == 'POSE':
|
||||||
items = obj.data.bones
|
items = obj.pose.bones
|
||||||
if not self.extend:
|
if not self.extend:
|
||||||
bpy.ops.pose.select_all(action='DESELECT')
|
bpy.ops.pose.select_all(action='DESELECT')
|
||||||
is_pbone = True
|
is_pbone = True
|
||||||
|
|||||||
Reference in New Issue
Block a user