Select Similar for Bones by custom shape
AbandonedPublic

Authored by colin (col-one) on Sep 3 2017, 7:51 PM.

Diff Detail

Repository
rB Blender
colin (col-one) created this revision.Sep 3 2017, 7:51 PM
colin (col-one) retitled this revision from select similer custom shape to Select Similar for Bones by custom shape.Sep 4 2017, 10:06 AM
Campbell Barton (campbellbarton) requested changes to this revision.Oct 7 2017, 7:32 AM
Campbell Barton (campbellbarton) added inline comments.
source/blender/editors/armature/armature_select.c
924–950

Using ghash here isn't needed, BKE_pose_channel_find_name already uses a hash lookup,
so you can just loop over edit bones and compare the custom object with the active bones.

This revision now requires changes to proceed.Oct 7 2017, 7:32 AM

Wow you right ! I don't know why i did so complicated. I simplify that.