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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/blenkernel/intern/particle.c b/source/blender/blenkernel/intern/particle.c
index c20a7842097..e984308b873 100644
--- a/source/blender/blenkernel/intern/particle.c
+++ b/source/blender/blenkernel/intern/particle.c
@@ -3909,9 +3909,7 @@ void BKE_particlesettings_twist_curve_init(ParticleSettings *part)
ParticleSettings *BKE_particlesettings_copy(Main *bmain, const ParticleSettings *part)
{
- ParticleSettings *part_copy;
- BKE_id_copy(bmain, &part->id, (ID **)&part_copy);
- return part_copy;
+ return (ParticleSettings *)BKE_id_copy(bmain, &part->id);
}
/************************************************/