diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-11 13:46:25 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2015-11-11 13:46:25 +0300 |
commit | a9df76b167eaedf0d624beaf3de205ef478e562b (patch) | |
tree | 6b036fbff27db7b045d4cd6b13daeac3059fb7cf /source | |
parent | 69674f387569bddafc27227ba3e104a262301a44 (diff) |
Fix (unreported) potential crash: ParticleSystem->part shall never be NULL.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/particle_system.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c index dc6249b6a15..80d077352bd 100644 --- a/source/blender/blenkernel/intern/particle_system.c +++ b/source/blender/blenkernel/intern/particle_system.c @@ -4216,7 +4216,7 @@ void BKE_particlesystem_id_loop(ParticleSystem *psys, ParticleSystemIDFunc func, { ParticleTarget *pt; - func(psys, (ID **)&psys->part, userdata, IDWALK_NOP); + func(psys, (ID **)&psys->part, userdata, IDWALK_NEVER_NULL); func(psys, (ID **)&psys->target_ob, userdata, IDWALK_NOP); func(psys, (ID **)&psys->parent, userdata, IDWALK_NOP); |