Blender Git Commit Log

Git Commits -> Revision 26d2652

Revision 26d2652 by Alexander Gavrilov (master)
May 14, 2019, 18:56 (GMT)
Armature: implement universal hash table lookup of Bone objects by name.

Since drivers on Bone properties are really supposed to be stored
in Armature data and access bones via its bones[] collection, this
lookup path should work efficiently.

Mass lookup of bones by name was already done through hashes,
but they were built temporarily every time that was needed. This
simply replaces it with a common hash table computed immediately
after file load, copy, or Edit to Object mode switch.

Commit Details:

Full Hash: 26d2652d6d4287801d56dc8d41b1037750af701a
Parent Commit: 987c6da
Lines Changed: +80, -31

7 Modified Paths:

/source/blender/blenkernel/BKE_armature.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/armature.c (+31, -20) (Diff)
/source/blender/blenloader/intern/readfile.c (+5, -7) (Diff)
/source/blender/editors/armature/armature_naming.c (+10, -0) (Diff)
/source/blender/editors/armature/armature_utils.c (+3, -0) (Diff)
/source/blender/makesdna/DNA_armature_types.h (+5, -1) (Diff)
/source/blender/makesrna/intern/rna_armature.c (+23, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021