diff options
Diffstat (limited to 'bone_selection_sets.py')
-rw-r--r-- | bone_selection_sets.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bone_selection_sets.py b/bone_selection_sets.py index 8bd4841e..2891cdcd 100644 --- a/bone_selection_sets.py +++ b/bone_selection_sets.py @@ -227,7 +227,8 @@ class POSE_OT_selection_set_unassign(NeedSelSetPluginOperator): selection_set = arm.selection_sets[arm.active_selection_set] for bone in pose.bones: if bone.bone.select and bone.name in selection_set.bone_ids: - selection_set.bone_ids[bone.name].remove() + idx = selection_set.bone_ids.find(bone.name) + selection_set.bone_ids.remove(idx) return {'FINISHED'} @@ -299,9 +300,6 @@ def register(): default=0 ) - bpy.types.DATA_PT_motion_paths.append(copy_frames_armature) - bpy.types.OBJECT_PT_motion_paths.append(copy_frames_object) - def unregister(): for cls in classes: |