Blender Git Loki

Git Commits -> Revision b13cd82

Revision b13cd82 by Joshua Leung (master)
March 8, 2008, 02:16 (GMT)
Bugfix #8478: Constraints PyApi for setting targetspace non-functional

Finishing off some unfinished business (from the multi-target constraints work), it is now possible to get/set target-space for constraints where this is relevant.

For this to be possible, target-space setting(s) are now always presented as a list of ints, with each int representing the target-space setting for the relevant target.

Constraints C-API note:
get_targets function now needs to return the number of targets the constraint can have

Commit Details:

Full Hash: b13cd8226e758c44c4393bb02bdeeaa6e8d36795
SVN Revision: 14007
Parent Commit: 21dd86a
Lines Changed: +160, -39

4 Modified Paths:

/source/blender/blenkernel/BKE_constraint.h (+2, -2) (Diff)
/source/blender/blenkernel/intern/constraint.c (+81, -17) (Diff)
/source/blender/python/api2_2x/Constraint.c (+73, -17) (Diff)
/source/blender/python/api2_2x/doc/Constraint.py (+4, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021