4 Commits
Author SHA1 Message Date
Kushagra Saxena 8f2f4220db Merge remote-tracking branch 'upstream/main' into atn-duplicate-inplace
# Conflicts:
#	contributors/people.toml
#	crates/engine/src/atn_cmds/tests.rs
#	crates/engine/src/jobs.rs
2026-10-20 10:29:27 +05:30
Kushagra SaxenaandClaude Opus 5.5 aa54979583 Record a duplicate's inPlace only when a copy is an artboard
Alt-drag, Cmd+Opt-drag and Free Transform on a copy duplicate with
`inPlace: true` for every layer, but the flag only changes anything for
an artboard. With in-place duplicates now refused on strict .atn export,
a recorded copy of a plain layer could no longer be exported, although a
plain Duplicate replays it exactly. Recording now drops `inPlace` when no
copy is an artboard, as `layer.select` already rewrites its recorded
params.

Refs #7200

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 21:17:40 +05:30
Kushagra Saxena 2401039887 contributors: credit ksaxena149 by their GitHub profile name 2026-10-19 20:40:13 +05:30
Kushagra SaxenaandClaude Opus 5.5 443e6a3fc8 Refuse strict .atn export of an in-place layer duplicate
Photoshop's Duplicate Layer has no in-place flag, so `layer.duplicate
{"inPlace": true}` was exported as a plain Duplicate and replayed with
the artboard copy beside the original. Strict export now fails on it and
skipUnsupported reports it, as for a Close with a document target.

Fixes #7200

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 20:40:13 +05:30