Refactor/enhance BKE_curve_make_local(), and add BKE_curve_copy_ex() that takes a...
authorBastien Montagne <montagne29@wanadoo.fr>
Sat, 9 Jul 2016 13:08:24 +0000 (15:08 +0200)
committerBastien Montagne <montagne29@wanadoo.fr>
Sat, 9 Jul 2016 13:44:12 +0000 (15:44 +0200)
commit11f64f494b715498e4cbc147ae6a9d10538dc055
tree9d7e7f9dfdce67c5ab285315e67736b56762faa7
parent9044ccec5f811fd380fc0348d91d1c53729eea22
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).
source/blender/blenkernel/BKE_curve.h
source/blender/blenkernel/intern/curve.c
source/blender/blenkernel/intern/library.c
source/blender/blenkernel/intern/mesh.c
source/blender/blenkernel/intern/object.c
source/blender/editors/curve/editcurve.c
source/blender/editors/object/object_add.c
source/blender/editors/object/object_relations.c