mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-01 05:37:23 -06:00
Objects on Path: clipping paths and parts of blends, envelopes and repeats stay in place
object.objectsOnPath.attach took a path inside a compound path, blend, envelope, repeat or Intertwine group, or a clipping path, as the path and put it into the new Objects on Path group, so it was no longer a part of its container. As objects, a blend's key path, a repeat's source art, an envelope's content and a clipping path were put into the new group the same way. The Objects on Path tool highlighted a blend's key path or a clipping path and attached the selection to it. objects_on_path::held now finds the container that holds an object. The command refuses such a path or object with a reason, and the tool does not highlight it or attach to it. A member of a compound path given as an object still attaches as its whole compound path. The four new messages have rows in every complete-message catalog. Docs: docs/mcp.md (Objects on Path).
This commit is contained in:
+6
-2
@@ -4409,8 +4409,12 @@ between them by length; on a closed path the gaps run all the way round. The att
|
||||
object is turned to the path's direction there. An object rotated by other than a multiple of 90° is first turned to
|
||||
the nearest multiple. `rotate` tilts every object by that many degrees counter-clockwise. Without `path`, the command
|
||||
chooses the Objects on Path tool (`objectsOnPath`), whose click on a path sends `{path}`. As the path, the command
|
||||
refuses a guide, a compound path, type, a path without length and a path already in an Objects on Path group. As
|
||||
objects, it refuses graphs, layers and objects already in an Objects on Path group.
|
||||
refuses a guide, a compound path, type, a path without length, a path already in an Objects on Path group, a
|
||||
clipping path, and a path inside a compound path, blend, envelope, repeat or Intertwine group. As objects, it skips
|
||||
layers and refuses graphs, objects already in an Objects on Path group, clipping paths, and objects inside a blend,
|
||||
envelope, repeat or Intertwine group; a member of a compound path attaches as its whole compound path. The tool
|
||||
does not highlight a clipping path or a path inside a blend, envelope, repeat or Intertwine group, and a click on one
|
||||
attaches nothing.
|
||||
|
||||
The group stays live: after every edit its objects go back on its path. Editing the path moves them, an object moved
|
||||
on its own goes back to its place, an object moved into the group (`layer.move` with `place: "inside"`) joins the end
|
||||
|
||||
Reference in New Issue
Block a user