And another fix to psys ID handling - ParticleSystem->part **is** user counted!

This commit is contained in:
Bastien Montagne 2015-11-11 16:14:44 +01:00
parent 256f091cbd
commit 9d18e46ddf
1 changed files with 1 additions and 1 deletions

View File

@ -4216,7 +4216,7 @@ void BKE_particlesystem_id_loop(ParticleSystem *psys, ParticleSystemIDFunc func,
{
ParticleTarget *pt;
func(psys, (ID **)&psys->part, userdata, IDWALK_NEVER_NULL);
func(psys, (ID **)&psys->part, userdata, IDWALK_USER | IDWALK_NEVER_NULL);
func(psys, (ID **)&psys->target_ob, userdata, IDWALK_NOP);
func(psys, (ID **)&psys->parent, userdata, IDWALK_NOP);