From cc0f3146e798479be0758b5c152ef67ef42ea8dc Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Sun, 25 Jul 2010 11:57:36 +0000 Subject: Shapekeys for curves/surfeces Fix #21498: Edit curve Shape key /252_r 27318 Added full support of shape keys for curves and nurbs surfaces including topology changing in edit mode, undo stuff, updating relative keys when working under basis and so on. --- source/blender/editors/include/ED_curve.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (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 a229d919e77..0ff98b504d0 100644 --- a/source/blender/editors/include/ED_curve.h +++ b/source/blender/editors/include/ED_curve.h @@ -37,6 +37,10 @@ struct Text; struct View3D; struct wmOperator; struct wmKeyConfig; +struct Curve; +struct EditNurb; +struct BezTriple; +struct BPoint; /* curve_ops.c */ void ED_operatortypes_curve(void); @@ -55,6 +59,8 @@ void load_editNurb (struct Object *obedit); void make_editNurb (struct Object *obedit); void free_editNurb (struct Object *obedit); +void free_curve_editNurb (struct Curve *cu); + int mouse_nurb (struct bContext *C, short mval[2], int extend); struct Nurb *add_nurbs_primitive(struct bContext *C, float mat[4][4], int type, int newname); @@ -72,6 +78,10 @@ void free_editText (struct Object *obedit); void ED_text_to_object(struct bContext *C, struct Text *text, int split_lines); int CU_select_nth(struct Object *obedit, int nth); +ListBase *ED_curve_editnurbs(struct Curve *cu); + +void ED_curve_beztcpy(struct EditNurb *editnurb, struct BezTriple *dst, struct BezTriple *src, int count); +void ED_curve_bpcpy(struct EditNurb *editnurb, struct BPoint *dst, struct BPoint *src, int count); #endif /* ED_CURVE_H */ -- cgit v1.2.3