From e6c61acb68927519d869d150444e1a58798976d3 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 12 Jan 2010 01:50:34 +0000 Subject: Fix [#20644] new curve sets itself to the origin, but the pivot to the cursor + Cleaned up the nurbs spin operator and gave it properties rather than relying on context --- source/blender/editors/include/ED_curve.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/include/ED_curve.h') diff --git a/source/blender/editors/include/ED_curve.h b/source/blender/editors/include/ED_curve.h index 0cfa743b0fa..e6bb178c90a 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -57,7 +57,7 @@ void free_editNurb (struct Object *obedit); int mouse_nurb (struct bContext *C, short mval[2], int extend); -struct Nurb *add_nurbs_primitive(struct bContext *C, int type, int newname); +struct Nurb *add_nurbs_primitive(struct bContext *C, float mat[4][4], int type, int newname); int isNurbsel (struct Nurb *nu);; -- cgit v1.2.3