Blender Git Commit Log
Git Commits -> Revision bf030de
Revision bf030de by Sybren A. Stüvel (master) March 5, 2021, 15:35 (GMT) |
Animation: add function to apply a pose from an Action Add `BKE_pose_apply_action(object, action, anim_eval_context)` function and expose in RNA as `Pose.apply_action(action, evaluation_time)`. This makes it possible to do the following: - Have a rig in pose mode. - Select a subset of the bones. - Have some Action loaded that contains the pose you want to apply. - Run `C.object.pose.apply_pose_from_action(D.actions['PoseName'])` - The selected bones are now posed as determined by the Action. Just like Blender's current pose library, having no bones selected acts the same as having all bones selected. Manifest Task: T86159 Reviewed By: Severin Differential Revision: https://developer.blender.org/D10578 |
Commit Details:
Full Hash: bf030decd42fd9eb35f59a5b724d87403917bc6a
Parent Commit: 8d0fbcd
Lines Changed: +189, -5
1 Added Path:
/source/blender/blenkernel/intern/armature_pose.cc (+133, -0) (View)