mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-14 05:24:44 +00:00
Offset Path took each selected path in turn, so offsetting many paths, or a group of many paths, used one CPU. It now reads the selected paths first, works out their offsets on as many threads as the computer has logical CPUs (one thread on the web and for a single path), and then makes the new objects one after another in the selection's order on the editing thread. The new objects, their ids, their stacking, the selection, the messages and the undo step are the same as before. When several paths fail, the error is the one for the first of them in the selection's order, and the paths after a failure that have not started yet are skipped.