diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-09 16:08:24 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2016-07-09 16:44:12 +0300 |
commit | 11f64f494b715498e4cbc147ae6a9d10538dc055 (patch) | |
tree | 9d7e7f9dfdce67c5ab285315e67736b56762faa7 /source/blender/blenkernel/intern/library.c | |
parent | 9044ccec5f811fd380fc0348d91d1c53729eea22 (diff) |
Refactor/enhance BKE_curve_make_local(), and add BKE_curve_copy_ex() that takes a Main as parameter.
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 fbffe56a1e8..c7a7bb0c0f7 100644 --- a/source/blender/blenkernel/intern/library.c +++ b/source/blender/blenkernel/intern/library.c @@ -270,7 +270,7 @@ bool id_make_local(Main *bmain, ID *id, bool test) if (!test) BKE_mesh_make_local(bmain, (Mesh *)id); return true; case ID_CU: - if (!test) BKE_curve_make_local((Curve *)id); + if (!test) BKE_curve_make_local(bmain, (Curve *)id); return true; case ID_MB: if (!test) BKE_mball_make_local((MetaBall *)id); |