diff options
Diffstat (limited to 'source/blender/editors/physics/particle_object.c')
-rw-r--r-- | source/blender/editors/physics/particle_object.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/physics/particle_object.c b/source/blender/editors/physics/particle_object.c index 5a2009845f8..cfb3a400f47 100644 --- a/source/blender/editors/physics/particle_object.c +++ b/source/blender/editors/physics/particle_object.c @@ -1017,13 +1017,11 @@ static void copy_particle_edit(Depsgraph *depsgraph, edit->points = MEM_dupallocN(edit_from->points); pa = psys->particles; - LOOP_POINTS - { + LOOP_POINTS { HairKey *hkey = pa->hair; point->keys = MEM_dupallocN(point->keys); - LOOP_KEYS - { + LOOP_KEYS { key->co = hkey->co; key->time = &hkey->time; key->flag = hkey->editflag; |