mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 21:12:57 -05:00
Adds engine tests for code that no test reached:
- path.join with the same id twice and subpaths: the coincident
junction anchors merge, the later-first order puts the joined subpath
in the right place, and one undo brings back all three subpaths.
- Join from direct-selected ends: both ends of one open subpath close
only that subpath, and with both ends of one line and one end of
another selected, Join takes the nearest pair of selected ends.
- Pathfinder refuses an image alone ("select paths") and an anchor that
is not a finite number ("invalid coordinates"), with no undo step.
- path.setHandle and object.blend.spine.moveAnchor refuse link with
symmetric (one row in each existing refusal table).
- select.segments, select.anchorsMany, select.magicWand and
path.curvatureEdit refuse an unknown mode or op and leave the
selection, the document and the undo history unchanged.