[Bf-blender-cvs] [cd56e076df7] soc-2021-curves: Changed free handle to hold from toggle

dilithjay noreply at git.blender.org
Sat Dec 4 17:40:41 CET 2021


Commit: cd56e076df7275c13696f77fb788dbfd7a1099ae
Author: dilithjay
Date:   Fri Dec 3 22:48:46 2021 +0530
Branches: soc-2021-curves
https://developer.blender.org/rBcd56e076df7275c13696f77fb788dbfd7a1099ae

Changed free handle to hold from toggle

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

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 f7a5a7d2b5d..8a629029299 100644
--- a/source/blender/editors/curve/editcurve_pen.c
+++ b/source/blender/editors/curve/editcurve_pen.c
@@ -877,10 +877,7 @@ static int curve_pen_modal(bContext *C, wmOperator *op, const wmEvent *event)
         if (bezt->h1 != HD_FREE || bezt->h2 != HD_FREE) {
           bezt->h1 = bezt->h2 = HD_FREE;
         }
-        else {
-          bezt->h1 = bezt->h2 = HD_ALIGN;
-          BKE_nurb_handles_calc(nu);
-        }
+
         RNA_boolean_set(op->ptr, "dragging", true);
         dragging = true;
       }



More information about the Bf-blender-cvs mailing list