Commit: 419714a40c90a0ad7533e2f116108e6d482c3dd3 Author: Dilith Jayakody Date: Mon Jan 17 22:40:46 2022 +0530 Branches: soc-2021-curves https://developer.blender.org/rB419714a40c90a0ad7533e2f116108e6d482c3dd3
Support for closing 2 point splines =================================================================== M release/scripts/addons M source/blender/editors/curve/editcurve_pen.c =================================================================== diff --git a/release/scripts/addons b/release/scripts/addons index ee7f95212b9..d4fcda5935c 160000 --- a/release/scripts/addons +++ b/release/scripts/addons @@ -1 +1 @@ -Subproject commit ee7f95212b96c2786a27e4ba4729fff4a504328d +Subproject commit d4fcda5935c5c561e77aadd32a32500cf280dcaa diff --git a/source/blender/editors/curve/editcurve_pen.c b/source/blender/editors/curve/editcurve_pen.c index 8cb2f8e1435..d1bd61d6d1f 100644 --- a/source/blender/editors/curve/editcurve_pen.c +++ b/source/blender/editors/curve/editcurve_pen.c @@ -1761,8 +1761,7 @@ static int curve_pen_modal(bContext *C, wmOperator *op, const wmEvent *event) get_selected_points(cu, vc.v3d, &nu, &bezt, &bp); if (cpd->nu && !(cpd->nu->flagu & CU_NURB_CYCLIC)) { copy_v2_v2_int(vc.mval, event->mval); - cpd->acted = cpd->nu->pntsu > 2 && - make_cyclic_if_endpoints(cpd->nu, cpd->bezt, cpd->bp, &vc, C, sel_dist_mul); + cpd->acted = make_cyclic_if_endpoints(cpd->nu, cpd->bezt, cpd->bp, &vc, C, sel_dist_mul); } } _______________________________________________ Bf-blender-cvs mailing list Bf-blender-cvs@blender.org List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs