Commit: b69dd450d1620a11b73b71fbac3ce0b61884ae0d Author: dilithjay Date: Wed Aug 18 07:30:59 2021 +0530 Branches: soc-2021-curves https://developer.blender.org/rBb69dd450d1620a11b73b71fbac3ce0b61884ae0d
Fixed bug with moved handles snapping =================================================================== M release/datafiles/locale M release/scripts/addons M source/blender/editors/curve/editcurve_pen.c =================================================================== diff --git a/release/datafiles/locale b/release/datafiles/locale index 35573b45adc..357d7f74796 160000 --- a/release/datafiles/locale +++ b/release/datafiles/locale @@ -1 +1 @@ -Subproject commit 35573b45adc0cc00a29538a68567621ab571a88f +Subproject commit 357d7f74796f713a6d1e2d88297e38b5b4bd099c diff --git a/release/scripts/addons b/release/scripts/addons index 84405f65259..8c8df3e3697 160000 --- a/release/scripts/addons +++ b/release/scripts/addons @@ -1 +1 @@ -Subproject commit 84405f65259958b835f3ec0325802e3003098678 +Subproject commit 8c8df3e36974c000ffb6b11c40c0e017902e98d7 diff --git a/source/blender/editors/curve/editcurve_pen.c b/source/blender/editors/curve/editcurve_pen.c index 21047137ce1..1854bb1513d 100644 --- a/source/blender/editors/curve/editcurve_pen.c +++ b/source/blender/editors/curve/editcurve_pen.c @@ -162,19 +162,21 @@ static void move_selected_bezt_to_mouse(BezTriple *bezt, ViewContext *vc, const { /* Get mouse location in 3D space. */ float location[3]; - mouse_location_to_worldspace(event->mval, bezt->vec[1], vc, location); /* Move entire BezTriple if center point is dragged. */ if (bezt->f2) { + mouse_location_to_worldspace(event->mval, bezt->vec[1], vc, location); move_bezt_to_location(bezt, location); } /* Move handle separately if only a handle is dragged. */ else { free_up_handles_for_movement(bezt, bezt->f1, bezt->f3); if (bezt->f1) { + mouse_location_to_worldspace(event->mval, bezt->vec[0], vc, location); copy_v3_v3(bezt->vec[0], location); } else { + mouse_location_to_worldspace(event->mval, bezt->vec[2], vc, location); copy_v3_v3(bezt->vec[2], location); } } _______________________________________________ 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