From e0c77c0f14f6ad3a742ab7b556ccb46b1ef4fbdf Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 11 Mar 2007 16:25:17 +0000 Subject: made all data adding functions accept a name such as add_mesh or add_curve, previously only some datatypes adding functions accepted a name. also updated the Bpy.py epydocs --- source/blender/blenkernel/BKE_curve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/blenkernel/BKE_curve.h') diff --git a/source/blender/blenkernel/BKE_curve.h b/source/blender/blenkernel/BKE_curve.h index c3a7cdcd8dd..655b5e5284a 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -48,7 +48,7 @@ struct BevList; void unlink_curve( struct Curve *cu); void free_curve( struct Curve *cu); -struct Curve *add_curve(int type); +struct Curve *add_curve(char *name, int type); struct Curve *copy_curve( struct Curve *cu); void make_local_curve( struct Curve *cu); void test_curve_type( struct Object *ob); -- cgit v1.2.3