Fix #119751: Rigify + Bone Selection Sets fails to generate rigv4.1.0
commitb67f32f2c8327b28b890b7adace9a67571603070
authorSybren A. Stüvel <sybren@blender.org>
Thu, 21 Mar 2024 15:51:26 +0000 (21 16:51 +0100)
committerSybren A. Stüvel <sybren@blender.org>
Thu, 21 Mar 2024 15:51:26 +0000 (21 16:51 +0100)
tree081c8be2dab8dd2f0358c937939289949e44b03c
parent6404d1dcd4dcd483951716384c4eeb0280924ef3
Fix #119751: Rigify + Bone Selection Sets fails to generate rig

When generating a selection set, the Rigify code used the wrong approach
to test `coll not in b.bone.collections` -- it should have been using the
collection name, not the collection itself.

Fixes blender/blender#119751 (it was filed against the main Blender repo).

Pull Request: https://projects.blender.org/blender/blender-addons/pulls/105251
rigify/generate.py