diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-30 17:29:57 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-30 17:29:57 +0400 |
commit | 93ba2dd6a1b5a841a49469e12a3671957e6a3500 (patch) | |
tree | 7f1507399b9e2fa34d820d1ccb34029063daec0c /source/blender/src/editobject.c | |
parent | e997e6b1fcd0465f0ad110e64c35e71a1d7c2760 (diff) |
Fix for bug #9867: issues with making particle systems local.
Diffstat (limited to 'source/blender/src/editobject.c')
-rw-r--r-- | source/blender/src/editobject.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/src/editobject.c b/source/blender/src/editobject.c index 335c8378507..512a29edbc2 100644 --- a/source/blender/src/editobject.c +++ b/source/blender/src/editobject.c @@ -4783,6 +4783,7 @@ void make_local(int mode) Base *base; Object *ob; bActionStrip *strip; + ParticleSystem *psys; Material *ma, ***matarar; Lamp *la; Curve *cu; @@ -4869,6 +4870,9 @@ void make_local(int mode) make_local_armature ((bArmature *)id); break; } + + for(psys=ob->particlesystem.first; psys; psys=psys->next) + make_local_particlesettings(psys->part); } id= (ID *)ob->ipo; if(id && id->lib) make_local_ipo(ob->ipo); @@ -4876,11 +4880,10 @@ void make_local(int mode) id= (ID *)ob->action; if(id && id->lib) make_local_action(ob->action); - for (strip=ob->nlastrips.first; strip; strip=strip->next) { + for(strip=ob->nlastrips.first; strip; strip=strip->next) { if(strip->act && strip->act->id.lib) make_local_action(strip->act); } - } base= base->next; } |