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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-06-30 18:43:28 +0400
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-06-30 18:43:28 +0400
commit6ff10f00d4f239405a6f0e3706036dd1978dc6f8 (patch)
tree50ef6b8b43c8df2449fd7e6d776eaa5d6968efb3 /source/blender/blenkernel/intern/particle.c
parent7f3b7c07afb51e9cc6acd1f34c72a0eee205b4be (diff)
Bugfix: effector weights were not copied when copying particle settings.
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r--source/blender/blenkernel/intern/particle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index 0c55cc2aaac..f33ac2ad380 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -3536,6 +3536,7 @@ ParticleSettings *psys_copy_settings(ParticleSettings *part)
partn= copy_libblock(part);
if(partn->pd) partn->pd= MEM_dupallocN(part->pd);
if(partn->pd2) partn->pd2= MEM_dupallocN(part->pd2);
+ partn->effector_weights = MEM_dupallocN(part->effector_weights);
partn->boids = boid_copy_settings(part->boids);