diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-11-07 08:36:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-11-07 08:36:37 +0400 |
commit | bb8fe0bf4afeaa5ae91329b8d8147b94cc54034a (patch) | |
tree | 8ce068ee16a8f61a6beeb08c0929f0fa9a8bde3b /source/blender/blenkernel/intern/particle.c | |
parent | 96d73bfdcfd74bfccd58bf02ae25b64577fce904 (diff) |
minor edits
- remove unneeded type check from convert grease pencil operator.
- correct some error prints & use __func__.
- make copy_libblock take an ID* argument rather than void*.
Diffstat (limited to 'source/blender/blenkernel/intern/particle.c')
-rw-r--r-- | source/blender/blenkernel/intern/particle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c index 56e4c91ba5e..1064a5af160 100644 --- a/source/blender/blenkernel/intern/particle.c +++ b/source/blender/blenkernel/intern/particle.c @@ -3569,7 +3569,7 @@ ParticleSettings *psys_copy_settings(ParticleSettings *part) ParticleSettings *partn; int a; - partn= copy_libblock(part); + partn= copy_libblock(&part->id); partn->pd= MEM_dupallocN(part->pd); partn->pd2= MEM_dupallocN(part->pd2); partn->effector_weights= MEM_dupallocN(part->effector_weights); |