diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-03-09 21:03:29 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-03-09 21:03:29 +0300 |
commit | 14e7ba0c8ac7f229a1b025103a786f267dfb9387 (patch) | |
tree | ec21769ee9f799f330ec8837c00ffd71ad4736f8 /release | |
parent | 40e62f271c137f6bce19c6f6497948d014a7ab17 (diff) |
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.
Diffstat (limited to 'release')
0 files changed, 0 insertions, 0 deletions