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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-07-10 16:13:01 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-07-10 18:14:45 +0300
commitc8c00636bf439bf640a545a60dd82ada8ebd5ffe (patch)
tree89d3df0379a43d648fc9212c86b19202c3c3bf79 /source/blender/blenkernel/intern/library.c
parentbb8bfdd4b600e0f82920901fdb0aa42dd65b059c (diff)
Refactor/enhance BKE_particlesettings_make_local().
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
Diffstat (limited to 'source/blender/blenkernel/intern/library.c')
-rw-r--r--source/blender/blenkernel/intern/library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/library.c b/source/blender/blenkernel/intern/library.c
index f85765435f2..9ef8d3acb4b 100644
--- a/source/blender/blenkernel/intern/library.c
+++ b/source/blender/blenkernel/intern/library.c
@@ -327,7 +327,7 @@ bool id_make_local(Main *bmain, ID *id, bool test)
if (!test) BKE_brush_make_local((Brush *)id);
return true;
case ID_PA:
- if (!test) BKE_particlesettings_make_local((ParticleSettings *)id);
+ if (!test) BKE_particlesettings_make_local(bmain, (ParticleSettings *)id);
return true;
case ID_WM:
return false; /* can't be linked */