Blender Git Commit Log

Git Commits -> Revision 14e7ba0

Revision 14e7ba0 by Sybren A. Stüvel (master)
March 9, 2018, 18:03 (GMT)
Fix Pose Lib: pose is applied when selected bones don't overlap with pose

Premise: When pose bones are selected, applying a pose library should
only affect the selected bones.

This commit fixes a bug where the pose was also applied when there was
no overlap between the selected bones and the bones in the pose. For
example, applying a pose which contains only keyframes for the left
hand, while only right-hand bones are selected, would apply the pose
to the left hand anyway.

The code is now also slightly more efficient; the removed 'selcount'
counter was only used as a binary (i.e. zero or non-zero). It's now
stored as a bitflag instead.

Commit Details:

Full Hash: 14e7ba0c8ac7f229a1b025103a786f267dfb9387
Parent Commit: 40e62f2
Lines Changed: +23, -11

1 Modified Path:

/source/blender/editors/armature/pose_lib.c (+23, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021