From 66238eab7c618286f4097254e255db44b29d4e61 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 27 Mar 2007 11:37:54 +0000 Subject: PyAPI curve - added curve_type() to return the curve type BPyModule & gen_library - works with text3d now, can also make new text3d through bpy.curves.new Added Draw.Label() so scripts can draw can using freetype. widgetwizard - use Draw.Label --- source/blender/blenkernel/BKE_curve.h | 1 + 1 file changed, 1 insertion(+) (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 655b5e5284a..19c3c620419 100644 --- a/source/blender/blenkernel/BKE_curve.h +++ b/source/blender/blenkernel/BKE_curve.h @@ -51,6 +51,7 @@ void free_curve( struct Curve *cu); struct Curve *add_curve(char *name, int type); struct Curve *copy_curve( struct Curve *cu); void make_local_curve( struct Curve *cu); +short curve_type( struct Curve *cu); void test_curve_type( struct Object *ob); void tex_space_curve( struct Curve *cu); int count_curveverts( struct ListBase *nurb); -- cgit v1.2.3