svn merge -r38000:38200 https://svn.blender.org/svnroot/bf-blender/trunk/blender
[blender-staging.git] / source / blender / editors / curve / editcurve.c
index 284bbb2f3de8210915fa116583b6899b8293bdbe..bfca5453bc5974e988d27abbbe1da5ca784c0bf4 100644 (file)
@@ -3535,6 +3535,11 @@ static int convertspline(short type, Nurb *nu)
        return 0;
 }
 
+void ED_nurb_set_spline_type(Nurb *nu, int type)
+{
+       convertspline(type, nu);
+}
+
 static int set_spline_type_exec(bContext *C, wmOperator *op)
 {
        Object *obedit= CTX_data_edit_object(C);