diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-10 16:13:01 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-10 18:14:45 +0300 |
commit | c8c00636bf439bf640a545a60dd82ada8ebd5ffe (patch) | |
tree | 89d3df0379a43d648fc9212c86b19202c3c3bf79 /source/blender/blenkernel/intern/library.c | |
parent | bb8bfdd4b600e0f82920901fdb0aa42dd65b059c (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.c | 2 |
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 */ |