diff options
author | Janne Karhu <jhkarh@gmail.com> | 2011-04-08 14:28:16 +0400 |
---|---|---|
committer | Janne Karhu <jhkarh@gmail.com> | 2011-04-08 14:28:16 +0400 |
commit | 5ada3999caacc36b73aa2994032f28ecdc1a1374 (patch) | |
tree | fea203997a1bf49f2598906acdebcf104b9411e7 /source/blender/blenkernel | |
parent | 08bb4bed94a7d350d4ed67fab37f1b3c7c8aeca7 (diff) |
Fix for [#26800] Particle Render "Use Group Count" is shared between different Particle Settings datablocks
* Copying particle settings didn't copy the dupliweights.
Diffstat (limited to 'source/blender/blenkernel')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index e96dc638a88..662929f95fc 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -3590,6 +3590,8 @@ ParticleSettings *psys_copy_settings(ParticleSettings *part) id_us_plus((ID *)partn->mtex[a]->tex); } } + + BLI_duplicatelist(&partn->dupliweights, &part->dupliweights); return partn; } |