Blender Git Commit Log

Git Commits -> Revision cf8032f

Revision cf8032f by Joshua Leung (master)
October 23, 2007, 08:23 (GMT)
== PyConstraints - Now working again ==

I've finally traced down the causes of several of the bugs which caused PyConstraints to work incorrectly (or not at all).

* Freeing is now done using BLI_freelistN inside the pycon_free function, instead of looping through the targets ourselves. This fixes all of those Memblock free: pointer not in list errors.
* BPY_pyconstraint_update now correctly creates/frees the constraint's targets as needed. Previously, it was creating/removing the wrong number of targets. Also, pyconstraints no longer get disabled when using armatures (not bones)
* The panel drawing was also not working right, as there were still some offset issues.

Commit Details:

Full Hash: cf8032f3155356833737caae65668400fd2d57a6
SVN Revision: 12353
Parent Commit: bf68055
Lines Changed: +21, -17

3 Modified Paths:

/source/blender/blenkernel/intern/constraint.c (+1, -3) (Diff)
/source/blender/python/BPY_interface.c (+16, -10) (Diff)
/source/blender/src/buttons_object.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021