diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2019-09-25 16:07:57 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2019-09-25 16:07:57 +0300 |
commit | 1ca5c8491d9a426a95572384cbbde3eb455236ba (patch) | |
tree | 63e096c80a142c5a070396e167c7f434e4bc0f99 /build_files | |
parent | 2507b6a48908c6215e73cbd20dcde1996b8c33e5 (diff) |
Pose paste: avoid auto-keying on unselected bones when 'selection only' is enabled
The `pose_bone_do_paste()` function is documented to only return a
non-NULL pointer on a successful paste, and the one caller that checks
the return value is expecting this behaviour. However, before this
commit, when a valid pose channel was found, 'Selected Only' was
enabled, and the bone was not selected, the function would still return
non-NULL. This resulted in auto-keying pose channels that were not
pasted.
Reviewed by: angavrilov
Differential Revision: https://developer.blender.org/D5891
Diffstat (limited to 'build_files')
0 files changed, 0 insertions, 0 deletions