Blender Git Loki

Git Commits -> Revision e180916

Revision e180916 by Campbell Barton (master)
March 26, 2021, 02:37 (GMT)
Animation: action mirror RNA API using pose contents

This adds a new RNA method `Action.flip_with_pose(ob)` to flip the
action channels that control a pose.
The rest-pose is used to properly flip the bones transformation.

This is useful as a way to flip actions used in pose libraries,
so the same action need not be included for each side.

Reviewed By: sybren

Ref D10781

Commit Details:

Full Hash: e18091650b92ee88339d1c8032572dabce21362a
Parent Commit: ff017df
Lines Changed: +484, -1

1 Added Path:

/source/blender/blenkernel/intern/action_mirror.c (+457, -0) (View)

3 Modified Paths:

/source/blender/blenkernel/BKE_action.h (+3, -0) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_action_api.c (+23, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021