Transparency: transparency.info reports the selected symbol part that transparency.set edits

With an object of a dynamic symbol instance selected by Direct Selection,
transparency.set without ids changes that object's opacity and blend mode
for the instance, and the Transparency panel shows those values. The
transparency.info command still reported the instance's own opacity and
blend mode. Without ids or id it now returns the panel's values
(Session::transparency_info), so it reports the part's opacity and blend
mode with the instance's isolate and knockout. With ids or id it still
reports those objects.
This commit is contained in:
dotCooCoo committed 2026-11-28 21:58:54 -08:00
1 parent 7a8866e036
commit ff47fc8699
3 files changed
+36 -6

No files matched your search

+3 -1
View File
@@ -5066,7 +5066,9 @@ already walks Image Trace. Short agent entry points:
`paint.setFill` and `paint.setStroke` (solid, none, gradient or pattern) and `paint.invert` and `paint.complement`
on a solid color change that object's fill or stroke for this instance only when `ids`, `id` and `item` are omitted.
`transparency.set` with opacity and/or blend does the same when `ids`, `id` and `item` are omitted; with `ids` or
`id` it edits those objects, so the instance's id changes the instance. `appearance.copyFrom` takes the source's
`id` it edits those objects, so the instance's id changes the instance. `transparency.info` without `ids` or `id`
reports that object's opacity and blend mode for this instance, with the instance's isolate and knockout values; with
the instance's id it reports the instance. `appearance.copyFrom` takes the source's
fill and stroke (including a gradient or pattern) for this instance only when `ids` is omitted and `reverse`,
`append` and `defaultsOnly` are false or omitted, and only for each paint the Eyedropper Options pick up and
apply; a paint disabled in either tree stays as it was. With `ids`, and `reverse` false or omitted, it copies