Blender Git Loki

Git Commits -> Revision 9e968ce

Revision 9e968ce by Joshua Leung (master)
August 5, 2008, 03:29 (GMT)
Bugfix #16673: Segfault when using Bake Constraints Script

There were several buggy things here (in order of significance):
1) PyAPI method didn't check to make sure that there was an active posechannel when deleting posechannel constraints. This was required by constraint_active_func() to be able to update the 'active' flags for the constraints in that stack
2) PyAPI method removed the links to the constraint data from the constraints list, even though that wasn't necessary, and may have caused memory leaks.
3) constraint_active_func() had no error checking for no constraints-stack being found

Commit Details:

Full Hash: 9e968cea4743640848a6e878de7fc1de47dc69b3
SVN Revision: 15965
Parent Commit: 07bc1e5
Lines Changed: +24, -8

2 Modified Paths:

/source/blender/python/api2_2x/Constraint.c (+22, -7) (Diff)
/source/blender/src/buttons_object.c (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021