alonso.torres 2abe61e181 🐛 Read whether a group mirrors from its transform when syncing
A group takes its bounds from its children and resets its flip flags
while its transform keeps the mirror. Sync turns and flips the children
of a copy shape like the shape, composing the flips of the copy and of
its main through their flags, so a flipped group in a copy gave its
children a mirroring transform stored as a half turn without flips.

Sync reads whether a group or bool mirrors from its transform.

Test: syncing-the-shapes-of-a-flipped-copy-group-keeps-them-flipped.
The full common suite passes.

Benchmark (alone, shared with the next commit):

|                             :world | :baseline |    :now |   :mean | :ratio |
|------------------------------------+-----------+---------+---------+--------|
|  deepest-edit-through-three-levels |    35.215 |  24.408 |  25.288 |   0.69 |
| edit-through-a-chain-of-dependents |    68.931 |  49.305 |  51.709 |   0.72 |
|         library-update-into-copies |    83.083 |  57.405 |  59.433 |   0.69 |
|        main-edit-among-many-shapes |     4.837 |   2.779 |   2.943 |   0.57 |
|           main-edit-into-10-copies |      1.79 |   1.176 |   1.221 |   0.66 |
|          main-edit-into-100-copies |    15.415 |  11.968 |   13.13 |   0.78 |
|         main-edit-into-1000-copies |   153.086 | 121.213 | 125.656 |   0.79 |
|         variant-switch-into-copies |    32.052 |  24.938 |   26.57 |   0.78 |

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:48 +01:00
..