Blender Git Loki

Git Commits -> Revision 64d39b7

January 8, 2015, 11:41 (GMT)
Separate context freeing from task freeing in threaded particle updates
to prevent double-freeing/invalid mem access.

This can happen with the "virtual parents" feature, which generates both
parent and child paths. Each task free function also freed the shared
context, leading to double freeing.

Commit Details:

Full Hash: 64d39b7378c55da184fd474aa38bf43bdc30156a
Parent Commit: 4137ef1
Lines Changed: +18, -12

4 Modified Paths:

/source/blender/blenkernel/BKE_particle.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/particle.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle_distribute.c (+2, -0) (Diff)
/source/blender/blenkernel/intern/particle_system.c (+13, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021