mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-24 17:23:00 +00:00
Live Paint: paths in a Live Paint group can't take the names Face and Edge
A path directly in a Live Paint group named Face or Edge is taken for one of the group's faces or edges, so the next rebuild (Merge, Gap Options, a path dragged in or out, leaving isolation mode) drops it. layer.setProps and object.setProps now return an error when they would give either name to a path in the group that does not have it already, and a path pasted directly into the group under either name is pasted without its name.
This commit is contained in:
+3
-1
@@ -5435,7 +5435,9 @@ and `layerRows`, the rows highlighted in the panel.
|
||||
Paint group (`object.exitIsolation`, or `object.isolate` on a level outside it) adds the paths, compound paths and
|
||||
groups of them drawn in it, shown and unlocked with everything in them, to the group as `livePaint.merge` does, in
|
||||
one undo step; type, images and other objects stay in it as they are, and with nothing drawn no undo step is
|
||||
recorded.
|
||||
recorded. Face and Edge are the names of a Live Paint group's faces and edges: `layer.setProps` and
|
||||
`object.setProps` return an error when they would give either name to another path directly in the group, and a
|
||||
path pasted directly into the group under either name loses its name.
|
||||
- **Dialogs and panel state** (control channel and the app's MCP): `ui.layerOptions {ids?}` and `ui.newLayer
|
||||
{sublayer?}` open Layer Options (dialog `layerOptions`: name, color, template, locked, visible, printable, preview,
|
||||
dimImages, dimPercent; OK is one undo step; `ui.dialog.set` of `template` also sets `locked` and `dimImages`, as the
|
||||
|
||||
Reference in New Issue
Block a user