POSELIB_OT_pose_add: only create keyframes for selected bones.
authorSybren A. Stüvel <sybren@stuvel.eu>
Wed, 28 Sep 2016 11:54:57 +0000 (13:54 +0200)
committerSybren A. Stüvel <sybren@stuvel.eu>
Wed, 28 Sep 2016 11:54:57 +0000 (13:54 +0200)
commit601ce6a89c4f7ecc974f40c85add491a7c295c6f
treedd2a0e4c6b655308d44fd210487a7928b6d335f4
parentdbb8222baa408eb1c1ebb47fc7b7c52bf2fbdd35
POSELIB_OT_pose_add: only create keyframes for selected bones.

Previously the pose library used the WholeCharacter key set, which ignores
selection and add keys for almost all bones in the rig. This is a very
slow operation on complex rigs. With this patch, only selected bones are
keyed, defaulting to keying all bones when none are selected.

Note that this fixes the FIXME previously mentioned in the source.
release/scripts/startup/keyingsets_builtins.py
source/blender/editors/armature/pose_lib.c
source/blender/editors/include/ED_keyframing.h