Blender Git Loki
Git Commits -> Revision 1e45289
Revision 1e45289 by Joshua Leung (master) December 6, 2007, 10:20 (GMT) |
Constraints Bugfix: IK-constraint "flush_targets" function was causing segfaults on debug builds from certain MSVC compilers. The cause of this, is that ct is freed in the SINGLETARGET_FLUSH_TARS macro already, but ct is accessed in the following line to get the next target (ct= ct->next). Caused by brecht's commit for the pole-target stuff for IK-constraint. Now the SINGLETARGET_FLUSH_TARS macro, and the SINGLETARGETNS_FLUSH_TARS macro will correctly advance the location that ct points to. |
Commit Details:
Full Hash: 1e45289f918df3e291ab7eb67d995766943a075c
SVN Revision: 12805
Parent Commit: ac6efff
Lines Changed: +7, -2
1 Modified Path:
/source/blender/blenkernel/intern/constraint.c (+7, -2) (Diff)