Pablo Alba 3df7c5fea2 🐛 Keep main overrides on variant switch when the outer component is deleted
When a variant nested in a copy of a deleted component was switched, the
overrides made in that component's main were dropped: the lookup of the
matching shape in the original variant main stopped at the deleted
component, so the touched attributes were never copied.

Follow deleted components in find-shape-ref-child-of, like the ref chain
walk that collects the touched flags already does.

Closes #13177

AI-assisted-by: claude-opus-5-5
2026-11-20 11:41:37 +01:00
..
2022-11-08 13:02:14 +01:00