[Bf-blender-cvs] [c5d737116a4] temp-gpencil-bezier-stroke-type: GPencil: Bezier pen recalculate handles
Falk David
noreply at git.blender.org
Tue Apr 13 10:10:37 CEST 2021
Commit: c5d737116a436f4f677cecc25b4d0af216b8aad9
Author: Falk David
Date: Sun Apr 11 22:10:10 2021 +0200
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rBc5d737116a436f4f677cecc25b4d0af216b8aad9
GPencil: Bezier pen recalculate handles
===================================================================
M source/blender/editors/gpencil/gpencil_curve_draw.c
===================================================================
diff --git a/source/blender/editors/gpencil/gpencil_curve_draw.c b/source/blender/editors/gpencil/gpencil_curve_draw.c
index 8f16965b7bc..ab0ba56fbc6 100644
--- a/source/blender/editors/gpencil/gpencil_curve_draw.c
+++ b/source/blender/editors/gpencil/gpencil_curve_draw.c
@@ -519,6 +519,7 @@ static void gpencil_curve_draw_update(bContext *C, tGPDcurve_draw *tcd)
copy_v3_v3(bezt->vec[1], co);
copy_v3_v3(bezt->vec[2], co);
+ BKE_gpencil_editcurve_recalculate_handles(gps);
BKE_gpencil_stroke_update_geometry_from_editcurve(gps, tcd->resolution, false);
gpencil_set_alpha_last_segment(tcd, 0.1f);
break;
More information about the Bf-blender-cvs
mailing list