[Bf-blender-cvs] [1b09af60bee] soc-2021-curves: Fix shift behavior for linked handles

Dilith Jayakody noreply at git.blender.org
Sun Apr 3 17:34:24 CEST 2022


Commit: 1b09af60beefbd699b319435799295ab787ca2f3
Author: Dilith Jayakody
Date:   Sat Apr 2 07:12:39 2022 +0530
Branches: soc-2021-curves
https://developer.blender.org/rB1b09af60beefbd699b319435799295ab787ca2f3

Fix shift behavior for linked handles

===================================================================

M	source/blender/editors/curve/editcurve_pen.c

===================================================================

diff --git a/source/blender/editors/curve/editcurve_pen.c b/source/blender/editors/curve/editcurve_pen.c
index 3919c23f023..98f8bdd805f 100644
--- a/source/blender/editors/curve/editcurve_pen.c
+++ b/source/blender/editors/curve/editcurve_pen.c
@@ -1591,6 +1591,7 @@ static int curve_pen_modal(bContext *C, wmOperator *op, const wmEvent *event)
     if (cpd->msd == NULL) {
       if (event->val == PEN_MODAL_FREE_ALIGN_TOGGLE) {
         toggle_sel_bezt_free_align_handles(nurbs);
+        cpd->link_handles = false;
       }
       else if (event->val == PEN_MODAL_LINK_HANDLES) {
         cpd->link_handles = !cpd->link_handles;



More information about the Bf-blender-cvs mailing list