Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r--source/blender/blenkernel/intern/particle.c2
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;
}