alonso.torres 0e812b1f5e 🐛 Keep the inherited turn of a switched copy child without an override
A switch keeps an orientation that the copy, or a shape along its
reference chain, authored when both variants share it, and compares it
with the new copy's own orientation instead of the place its position
gives it. Any geometry override along the chain counted as authoring
it, so a copy child whose position main was only resized carried the
turn it inherits from its turned copy parent, and the switch marked that
inherited turn as a geometry override.

The orientation is carried only when it differs from its component's
orientation turned and flipped with its parent; an inherited one is
compared with the place its position gives it.

Benchmark (scripts/bench-components, ms, lower 2.5% quantile):

| world                              | baseline |     now | ratio |
|------------------------------------+----------+---------+-------|
| deepest-edit-through-three-levels  |   35.215 |  19.316 |  0.55 |
| edit-through-a-chain-of-dependents |   68.931 |  39.369 |  0.57 |
| library-update-into-copies         |   83.083 |  45.503 |  0.55 |
| main-edit-among-many-shapes        |    4.837 |   2.125 |  0.44 |
| main-edit-into-10-copies           |     1.79 |   0.933 |  0.52 |
| main-edit-into-100-copies          |   15.415 |   9.092 |  0.59 |
| main-edit-into-1000-copies         |  153.086 |  92.629 |  0.61 |
| variant-switch-into-copies         |   32.052 |  20.538 |  0.64 |

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:46 +01:00
..
2026-11-10 20:21:16 +01:00
2026-09-29 09:07:34 +02:00
2026-03-11 15:24:40 +01:00