[Bf-blender-cvs] [9d18e46] master: And another fix to psys ID handling - ParticleSystem->part **is** user counted!
Bastien Montagne
noreply at git.blender.org
Wed Nov 11 16:15:28 CET 2015
Commit: 9d18e46ddfb31bf53544b00bf77a49a593b37bd3
Author: Bastien Montagne
Date: Wed Nov 11 16:14:44 2015 +0100
Branches: master
https://developer.blender.org/rB9d18e46ddfb31bf53544b00bf77a49a593b37bd3
And another fix to psys ID handling - ParticleSystem->part **is** user counted!
===================================================================
M source/blender/blenkernel/intern/particle_system.c
===================================================================
diff --git a/source/blender/blenkernel/intern/particle_system.c b/source/blender/blenkernel/intern/particle_system.c
index 80d0773..1ed96dc 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_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);
More information about the Bf-blender-cvs
mailing list