Blender Git Commit Log
Git Commits -> Revision 72ee62e
Revision 72ee62e by Sybren A. Stüvel (master) November 16, 2021, 16:18 (GMT) |
Fix crash on freeing hair system Fix a crash when a hair system's `ParticleSettings` ID datablock was linked from another file but couldn't be found. This results in default settings, with `type = PART_EMITTER`, where the particle data still has a non-NULL `hair` pointer. Previously, copies of such a particle system would NOT copy hair data for non-hair particle systems, hence the pointer of the copy pointed to the original data, which got freed (at least) twice upon closing the blend file. This is now fixed by always copying the hair data, regardless of the particle system type. Reviewed by: mont29 Differential Revision: https://developer.blender.org/D13245 |
Commit Details:
Full Hash: 72ee62e0dae84c8077f2b79aa485103d59ce0aad
Parent Commit: 07af45e
Lines Changed: +21, -1
1 Modified Path:
/source/blender/blenkernel/intern/particle.c (+21, -1) (Diff)