Blender Git Commit Log

Git Commits -> Revision 1ca5c84

Revision 1ca5c84 by Sybren A. Stüvel (master)
September 25, 2019, 13:07 (GMT)
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

Commit Details:

Full Hash: 1ca5c8491d9a426a95572384cbbde3eb455236ba
Parent Commit: 2507b6a
Lines Changed: +105, -112

1 Modified Path:

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