Blender Git Commit Log

Git Commits -> Revision d425308

Revision d425308 by Hans Goudey (master)
July 21, 2020, 13:51 (GMT)
Fix T78994: Clear selected pose doesn't work without animation

It looks like the code left this as a todo, but the basic solution is to
add an extra parameter to BKE_bose_rest to check whether bones
are selected before reseting them.

I also corrected the operator description which said it acted on only
selected bones even when there is an option to turn that off. The
"act on selected" is generally implied for Blender's operators anyway.

Differential Revision: https://developer.blender.org/D8319

Commit Details:

Full Hash: d42530824e434fcc4c8d5394dd65f44cf3e8c16f
Parent Commit: 6b6e2e7
Lines Changed: +14, -11

5 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/action.c (+7, -2) (Diff)
/source/blender/blenkernel/intern/armature.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object.c (+1, -1) (Diff)
/source/blender/editors/armature/pose_transform.c (+3, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021