mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-29 20:27:05 -06:00
Deleting a point of a finished path with the Curvature tool sent path.removeAnchor, which refits the two segments that met at the point so one curve follows them. The path kept the bend of the deleted point instead of curving through the points that remain. The tool now sends path.removeAnchor with curvature: true, which uses the new curvature_remove. Each smooth neighbor takes new handles from its new neighbors, and an end beside one of them takes its end handle again. A corner neighbor keeps its handle directions, and its handle on the new segment scales with the segment's chord. With two points left, the points that curve lose their handles. Object > Path > Remove Anchor Points and the Delete Anchor Point tool still refit the curve.