Blender Git Loki

Git Commits -> Revision 64a584b

Revision 64a584b by Alexander Gavrilov (master)
June 25, 2020, 09:10 (GMT)
Python API: add methods to allow copying of constraints.

Blender has an operator to do Copy & Paste of constraints between
objects and bones, but no simple method to do that directly via
the Python API is provided. This adds a copy() method to object
and pose bone constraint collections.

Differential Revision:

Commit Details:

Full Hash: 64a584b38a73d4745e02620051592c5b05439647
Parent Commit: 6b53e0a
Lines Changed: +97, -9

4 Modified Paths:

/source/blender/blenkernel/BKE_constraint.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+36, -9) (Diff)
/source/blender/makesrna/intern/rna_object.c (+26, -0) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+30, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021